Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.Controls.OBC.CDL.Continuous.Validation.MultiMin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin",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.0009491/0.0009492, allocations: 100 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.0009849/0.000985, 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 1.416/1.416, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.589/2.589, allocations: 390.3 MB / 0.6653 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003614/0.0003616, allocations: 8 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7736/0.774, allocations: 142.3 MB / 0.9536 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin): time 0.0007026/0.7748, allocations: 373.4 kB / 0.954 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001153/0.7749, allocations: 18.89 kB / 0.954 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.174e-05/0.7749, allocations: 0 / 0.954 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.189e-05/0.775, allocations: 0 / 0.954 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.068e-05/0.775, allocations: 5.281 kB / 0.954 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 7.292e-05/0.7751, allocations: 5.391 kB / 0.954 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.702e-05/0.7752, allocations: 27.39 kB / 0.954 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.769e-05/0.7753, allocations: 25.05 kB / 0.954 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.852e-05/0.7753, allocations: 10.5 kB / 0.9541 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.711e-05/0.7754, allocations: 17.03 kB / 0.9541 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.7754, allocations: 1.312 kB / 0.9541 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.052e-05/0.7754, allocations: 1.25 kB / 0.9541 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.743e-05/0.7754, allocations: 2.812 kB / 0.9541 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.922e-05/0.7755, allocations: 35.73 kB / 0.9541 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.447e-05/0.7755, allocations: 26.66 kB / 0.9541 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.7755, allocations: 0 / 0.9541 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7755, allocations: 0 / 0.9541 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.7755, allocations: 1.562 kB / 0.9541 GB, free: 7.738 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002183/0.7758, allocations: 338.9 kB / 0.9545 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.7758, allocations: 13.75 kB / 0.9545 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.652e-05/0.7758, allocations: 35.94 kB / 0.9545 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.477e-05/0.7759, allocations: 11.42 kB / 0.9545 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.776, allocations: 178.7 kB / 0.9547 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.776, allocations: 1.656 kB / 0.9547 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.776, allocations: 7 kB / 0.9547 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.7761, allocations: 86.69 kB / 0.9548 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.7762, allocations: 0 / 0.9548 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.7762, allocations: 5.219 kB / 0.9548 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.7762, allocations: 0.9688 kB / 0.9548 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.923e-05/0.7763, allocations: 56.08 kB / 0.9548 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003574/0.7766, allocations: 492 kB / 0.9553 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.909e-05/0.7767, allocations: 170.3 kB / 0.9555 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.7767, allocations: 76.25 kB / 0.9555 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.7767, allocations: 110.8 kB / 0.9556 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.7767, allocations: 0 / 0.9556 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.032e-05/0.7768, allocations: 33.33 kB / 0.9557 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/0.7768, allocations: 126.7 kB / 0.9558 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.777, allocations: 168.9 kB / 0.956 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.39e-06/0.777, allocations: 26.92 kB / 0.956 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.551e-05/0.777, allocations: 99.66 kB / 0.9561 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/0.777, allocations: 0 / 0.9561 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-06/0.777, allocations: 4 kB / 0.9561 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.443e-05/0.7771, allocations: 321.5 kB / 0.9564 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.421e-05/0.7771, allocations: 4.281 kB / 0.9564 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.196e-05/0.7771, allocations: 11.64 kB / 0.9564 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.298e-05/0.7771, allocations: 4.75 kB / 0.9564 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.7772, allocations: 3.953 kB / 0.9564 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.486e-05/0.7773, allocations: 59.58 kB / 0.9565 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.7773, allocations: 5.25 kB / 0.9565 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.7773, allocations: 5.219 kB / 0.9565 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.308e-06/0.7773, allocations: 112 / 0.9565 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.572e-05/0.7773, allocations: 6.938 kB / 0.9565 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.7774, allocations: 0 / 0.9565 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.375e-05/0.7774, allocations: 4.875 kB / 0.9565 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.7774, allocations: 1.281 kB / 0.9565 GB, free: 5.324 MB / 0.7169 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 (1): * Single equations (assignments): 1 * 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 5.914e-05/0.7775, allocations: 195 kB / 0.9567 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.814e-05/0.7775, allocations: 111.3 kB / 0.9568 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.881e-05/0.7775, allocations: 124.7 kB / 0.9569 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.412e-05/0.7776, allocations: 181.7 kB / 0.9571 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.462e-05/0.7776, allocations: 180.2 kB / 0.9573 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.18e-05/0.7776, allocations: 177.5 kB / 0.9574 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.7778, allocations: 422.8 kB / 0.9578 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.345e-05/0.7778, allocations: 108.9 kB / 0.9579 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.536e-05/0.7778, allocations: 109.9 kB / 0.958 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.329e-05/0.7778, allocations: 181.8 kB / 0.9582 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.7779, allocations: 177.7 kB / 0.9584 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.897e-05/0.7779, allocations: 181.6 kB / 0.9585 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.183e-05/0.7779, allocations: 181.5 kB / 0.9587 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.619e-05/0.778, allocations: 317.4 kB / 0.959 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.212e-05/0.778, allocations: 186.6 kB / 0.9592 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.695e-05/0.7781, allocations: 185.6 kB / 0.9594 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.06e-05/0.7781, allocations: 106.3 kB / 0.9595 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.7782, allocations: 181.8 kB / 0.9597 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.7782, allocations: 104.9 kB / 0.9598 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.592e-05/0.7783, allocations: 134.7 kB / 0.9599 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7783, allocations: 0 / 0.9599 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002145/0.7785, allocations: 5.406 kB / 0.9599 GB, free: 1.703 MB / 0.7169 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 (0): * Single equations (assignments): 0 * 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.0002418/0.7788, allocations: 0.8138 MB / 0.9607 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.43e-05/0.7788, allocations: 8.469 kB / 0.9607 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.7788, allocations: 0 / 0.9607 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.363e-06/0.7788, allocations: 1.375 kB / 0.9607 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.7791, allocations: 0.5403 MB / 0.9612 GB, free: 348 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007263/0.7798, allocations: 0.5843 MB / 0.9618 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.7801, allocations: 0.6941 MB / 0.9625 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.771e-05/0.7802, allocations: 12.47 kB / 0.9625 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.093e-05/0.7802, allocations: 17.88 kB / 0.9625 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.7802, allocations: 0 / 0.9625 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01133/0.7915, allocations: 1.378 MB / 0.9638 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001769/0.7918, allocations: 188.3 kB / 0.964 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.646/2.438, allocations: 0 / 0.964 GB, free: 14.25 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin_res.mat does not exist to compare? outputFormat=mat