Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 99 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.594/2.594, allocations: 223.2 MB / 239.9 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.647/4.647, allocations: 409.2 MB / 0.6838 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006226/0.0006231, allocations: 12 kB / 0.8375 GB, free: 6.578 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.33/1.331, allocations: 146.8 MB / 0.9809 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002327/1.333, allocations: 1.153 MB / 0.982 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00172/1.335, allocations: 0.7322 MB / 0.9827 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.751e-05/1.335, allocations: 0 / 0.9827 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.301e-05/1.335, allocations: 7.938 kB / 0.9827 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.11e-05/1.335, allocations: 7.984 kB / 0.9827 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005432/1.336, allocations: 91.69 kB / 0.9828 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.275e-05/1.336, allocations: 23.97 kB / 0.9828 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/1.336, allocations: 0 / 0.9828 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.977e-05/1.336, allocations: 19.98 kB / 0.9828 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.953e-05/1.336, allocations: 23.89 kB / 0.9829 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/1.336, allocations: 0 / 0.9829 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007347/1.337, allocations: 311.4 kB / 0.9832 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.241e-05/1.337, allocations: 7.984 kB / 0.9832 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.203e-05/1.337, allocations: 25.7 kB / 0.9832 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003568/1.337, allocations: 142.1 kB / 0.9833 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/1.337, allocations: 0 / 0.9833 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.395e-06/1.337, allocations: 0 / 0.9833 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.927e-06/1.337, allocations: 0 / 0.9833 GB, free: 3.777 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0007313/1.338, allocations: 381.1 kB / 0.9837 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.897e-05/1.338, allocations: 8.031 kB / 0.9837 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.904e-05/1.338, allocations: 34.56 kB / 0.9837 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006643/1.339, allocations: 79.91 kB / 0.9838 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/1.339, allocations: 171 kB / 0.984 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.269e-05/1.339, allocations: 3.938 kB / 0.984 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/1.339, allocations: 0 / 0.984 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004484/1.34, allocations: 101.6 kB / 0.9841 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/1.34, allocations: 0 / 0.9841 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/1.34, allocations: 0 / 0.9841 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/1.34, allocations: 3.984 kB / 0.9841 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006213/1.34, allocations: 115.9 kB / 0.9842 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007654/1.341, allocations: 296.9 kB / 0.9845 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005785/1.342, allocations: 122.4 kB / 0.9846 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/1.342, allocations: 3.984 kB / 0.9846 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/1.342, allocations: 30.56 kB / 0.9846 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/1.342, allocations: 7.938 kB / 0.9846 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.001123/1.343, allocations: 201.7 kB / 0.9848 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/1.343, allocations: 51.41 kB / 0.9849 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/1.343, allocations: 105.8 kB / 0.985 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.811e-05/1.343, allocations: 25.7 kB / 0.985 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.555e-05/1.343, allocations: 88.16 kB / 0.9851 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/1.343, allocations: 7.906 kB / 0.9851 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.105e-06/1.343, allocations: 0 / 0.9851 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001614/1.343, allocations: 314.8 kB / 0.9854 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003076/1.344, allocations: 59.89 kB / 0.9854 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003005/1.344, allocations: 55.95 kB / 0.9855 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003076/1.344, allocations: 56.02 kB / 0.9856 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/1.344, allocations: 0 / 0.9856 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006727/1.345, allocations: 157.5 kB / 0.9857 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/1.345, allocations: 4 kB / 0.9857 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/1.345, allocations: 4 kB / 0.9857 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/1.345, allocations: 0 / 0.9857 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/1.345, allocations: 23.97 kB / 0.9857 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/1.345, allocations: 4 kB / 0.9857 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/1.346, allocations: 24 kB / 0.9858 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/1.346, allocations: 7.938 kB / 0.9858 GB, free: 1.059 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001263/1.346, allocations: 105.8 kB / 0.9859 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.379e-05/1.346, allocations: 7.953 kB / 0.9859 GB, free: 0.9375 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.771e-05/1.346, allocations: 7.125 kB / 0.9859 GB, free: 0.9336 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/1.346, allocations: 4 kB / 0.9859 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/1.346, allocations: 256 / 0.9859 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/1.346, allocations: 0 / 0.9859 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003678/1.346, allocations: 177.6 kB / 0.9861 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/1.346, allocations: 0 / 0.9861 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001955/1.347, allocations: 27.97 kB / 0.9861 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/1.347, allocations: 3.953 kB / 0.9861 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/1.347, allocations: 4 kB / 0.9861 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/1.347, allocations: 3.984 kB / 0.9861 GB, free: 0.668 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/1.347, allocations: 4 kB / 0.9861 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009489/1.348, allocations: 247.4 kB / 0.9863 GB, free: 416 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.463e-05/1.348, allocations: 81.02 kB / 0.9864 GB, free: 316 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.25e-05/1.348, allocations: 3.953 kB / 0.9864 GB, free: 312 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/1.348, allocations: 27.91 kB / 0.9864 GB, free: 284 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.322e-05/1.348, allocations: 8.031 kB / 0.9865 GB, free: 276 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/1.348, allocations: 3.984 kB / 0.9865 GB, free: 272 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.474e-05/1.348, allocations: 83.28 kB / 0.9865 GB, free: 188 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/1.348, allocations: 0 / 0.9865 GB, free: 188 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004386/1.349, allocations: 16 kB / 0.9865 GB, free: 172 kB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001448/1.35, allocations: 0.7749 MB / 0.9873 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006886/1.351, allocations: 123.9 kB / 0.9874 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/1.351, allocations: 0 / 0.9874 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003111/1.351, allocations: 56.02 kB / 0.9875 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/1.351, allocations: 15.88 kB / 0.9875 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/1.353, allocations: 210.4 kB / 0.9877 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/1.353, allocations: 0.6809 MB / 0.9884 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001171/1.353, allocations: 4 kB / 0.9884 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.066e-05/1.353, allocations: 15.44 kB / 0.9884 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of SimCode: time 8.72e-07/1.353, allocations: 0 / 0.9884 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01675/1.37, allocations: 1.386 MB / 0.9897 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003691/1.37, allocations: 180.8 kB / 0.9899 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.802/4.173, allocations: 0 / 0.9899 GB, free: 12.71 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_InverseXRegularized.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat does not exist to compare? outputFormat=mat