Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.378/2.378, allocations: 393.5 MB / 408.4 MB, free: 10.98 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 178.6 kB / 0.4901 GB, free: 2.234 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.775/1.775, allocations: 223.1 MB / 0.7992 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009446/0.0009446, allocations: 106.3 kB / 0.9396 GB, free: 2.848 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003614/0.0003614, allocations: 9.719 kB / 1.09 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2731, allocations: 143 MB / 1.229 GB, free: 85.37 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1861/0.4592, allocations: 150.1 MB / 1.376 GB, free: 15.1 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/0.4595, allocations: 75.95 kB / 1.376 GB, free: 15.03 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.003212/0.4627, allocations: 1.084 MB / 1.377 GB, free: 13.94 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.989e-06/0.4628, allocations: 0 / 1.377 GB, free: 13.94 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.4628, allocations: 7.938 kB / 1.377 GB, free: 13.93 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004751/0.4633, allocations: 383.1 kB / 1.377 GB, free: 13.51 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.4633, allocations: 8.562 kB / 1.377 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.658e-05/0.4634, allocations: 34.56 kB / 1.377 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.828e-05/0.4634, allocations: 11.89 kB / 1.377 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.4635, allocations: 178.6 kB / 1.378 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.4635, allocations: 0 / 1.378 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.4636, allocations: 4 kB / 1.378 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002787/0.4639, allocations: 89.58 kB / 1.378 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.4639, allocations: 3.984 kB / 1.378 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.4639, allocations: 0 / 1.378 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.4639, allocations: 4 kB / 1.378 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003258/0.4642, allocations: 99.91 kB / 1.378 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006428/0.4649, allocations: 320.9 kB / 1.378 GB, free: 12.67 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/0.4651, allocations: 90.45 kB / 1.378 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002094/0.4654, allocations: 109.1 kB / 1.378 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.4654, allocations: 30.56 kB / 1.378 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.4654, allocations: 0 / 1.378 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3): time 0.000605/0.466, allocations: 181.6 kB / 1.378 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.4661, allocations: 55.36 kB / 1.378 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.295e-05/0.4662, allocations: 117 kB / 1.379 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.4662, allocations: 29.64 kB / 1.379 GB, free: 12 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.572e-05/0.4663, allocations: 96.03 kB / 1.379 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.4663, allocations: 7.906 kB / 1.379 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-06/0.4663, allocations: 4 kB / 1.379 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.4664, allocations: 314.8 kB / 1.379 GB, free: 11.58 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.4666, allocations: 47.95 kB / 1.379 GB, free: 11.53 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.4668, allocations: 55.95 kB / 1.379 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.4669, allocations: 43.95 kB / 1.379 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.4669, allocations: 4 kB / 1.379 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003637/0.4673, allocations: 137.5 kB / 1.379 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.4673, allocations: 8 kB / 1.379 GB, free: 11.28 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.4673, allocations: 0 / 1.379 GB, free: 11.28 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.4674, allocations: 0 / 1.379 GB, free: 11.28 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.4675, allocations: 31.84 kB / 1.379 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.4675, allocations: 0 / 1.379 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.4677, allocations: 23.94 kB / 1.379 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.491e-05/0.4677, allocations: 7.922 kB / 1.379 GB, free: 11.22 MB / 0.8855 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 (3): * Single equations (assignments): 3 * 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 8.997e-05/0.4678, allocations: 113.8 kB / 1.379 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.99e-05/0.4678, allocations: 7.984 kB / 1.379 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004291/0.4682, allocations: 145.5 kB / 1.38 GB, free: 10.94 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.4683, allocations: 4 kB / 1.38 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4683, allocations: 0 / 1.38 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.4683, allocations: 0 / 1.38 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/0.4685, allocations: 193.4 kB / 1.38 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.4685, allocations: 0 / 1.38 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.4686, allocations: 23.97 kB / 1.38 GB, free: 10.67 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.4686, allocations: 0 / 1.38 GB, free: 10.67 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.4686, allocations: 4.375 kB / 1.38 GB, free: 10.67 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4687, allocations: 0 / 1.38 GB, free: 10.67 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.4687, allocations: 7.938 kB / 1.38 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004104/0.4691, allocations: 235.4 kB / 1.38 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.23e-05/0.4691, allocations: 81.02 kB / 1.38 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.4692, allocations: 0 / 1.38 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.4693, allocations: 23.97 kB / 1.38 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.507e-05/0.4693, allocations: 4 kB / 1.38 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.4694, allocations: 0 / 1.38 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.122e-05/0.4694, allocations: 99.25 kB / 1.38 GB, free: 10.19 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4694, allocations: 4 kB / 1.38 GB, free: 10.19 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002286/0.4697, allocations: 20 kB / 1.38 GB, free: 10.17 MB / 0.8855 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 (3): * Single equations (assignments): 3 * 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.0007973/0.4705, allocations: 0.7638 MB / 1.381 GB, free: 9.379 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003558/0.4708, allocations: 95.92 kB / 1.381 GB, free: 9.285 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.4708, allocations: 8 kB / 1.381 GB, free: 9.277 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001614/0.471, allocations: 51.95 kB / 1.381 GB, free: 9.227 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000171/0.4712, allocations: 4.688 kB / 1.381 GB, free: 9.223 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005406/0.4717, allocations: 206.1 kB / 1.381 GB, free: 8.98 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.4721, allocations: 0.6887 MB / 1.382 GB, free: 8.266 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.924e-05/0.4721, allocations: 4 kB / 1.382 GB, free: 8.262 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.812e-05/0.4722, allocations: 19.42 kB / 1.382 GB, free: 8.242 MB / 0.8855 GB Notification: Performance of SimCode: time 5.71e-07/0.4722, allocations: 0 / 1.382 GB, free: 8.242 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01337/0.4855, allocations: 1.54 MB / 1.384 GB, free: 6.836 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001807/0.4858, allocations: 176.9 kB / 1.384 GB, free: 6.602 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.525/2.011, allocations: 3.516 kB / 1.384 GB, free: 6.602 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_QuadraticLinear.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat does not exist to compare? outputFormat=mat