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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.146/2.146, allocations: 390.3 MB / 405.3 MB, free: 13.44 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.00114/0.00114, allocations: 183.3 kB / 498.1 MB, free: 5.691 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.459/1.459, allocations: 223.1 MB / 0.7948 GB, free: 17.83 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.0009262/0.0009262, allocations: 97.84 kB / 0.9346 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003722/0.0003721, allocations: 13.88 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2872, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1839/0.4711, allocations: 148.5 MB / 1.368 GB, free: 13.48 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/0.4714, allocations: 71.95 kB / 1.368 GB, free: 13.41 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00177/0.4732, allocations: 0.7596 MB / 1.369 GB, free: 12.65 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4732, allocations: 0 / 1.369 GB, free: 12.65 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.949e-06/0.4732, allocations: 4 kB / 1.369 GB, free: 12.64 MB / 0.8698 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.0003201/0.4735, allocations: 346 kB / 1.369 GB, free: 12.26 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.4736, allocations: 8.031 kB / 1.369 GB, free: 12.25 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.328e-05/0.4736, allocations: 46.5 kB / 1.369 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.901e-05/0.4737, allocations: 7.859 kB / 1.369 GB, free: 12.19 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.4739, allocations: 182.9 kB / 1.369 GB, free: 11.97 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.4739, allocations: 4 kB / 1.369 GB, free: 11.97 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.4739, allocations: 4 kB / 1.369 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.4741, allocations: 77.59 kB / 1.369 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.4741, allocations: 3.984 kB / 1.369 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.4741, allocations: 4 kB / 1.369 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.4741, allocations: 0 / 1.369 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.072e-05/0.4742, allocations: 43.97 kB / 1.369 GB, free: 11.83 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000499/0.4747, allocations: 499 kB / 1.37 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.331e-05/0.4748, allocations: 177 kB / 1.37 GB, free: 11.11 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.4748, allocations: 79.28 kB / 1.37 GB, free: 11.03 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.346e-05/0.4749, allocations: 109.8 kB / 1.37 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.4749, allocations: 0 / 1.37 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 0.0001051/0.475, allocations: 25.7 kB / 1.37 GB, free: 10.88 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.675e-05/0.4751, allocations: 130.7 kB / 1.37 GB, free: 10.74 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.4752, allocations: 158.7 kB / 1.371 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.4752, allocations: 25.7 kB / 1.371 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.634e-05/0.4753, allocations: 104 kB / 1.371 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.405e-06/0.4753, allocations: 0 / 1.371 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-06/0.4753, allocations: 0 / 1.371 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.4754, allocations: 322.8 kB / 1.371 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.782e-05/0.4755, allocations: 4 kB / 1.371 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.677e-05/0.4755, allocations: 12.03 kB / 1.371 GB, free: 10.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.626e-05/0.4755, allocations: 15.92 kB / 1.371 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.4755, allocations: 0 / 1.371 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001169/0.4757, allocations: 61.61 kB / 1.371 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.4757, allocations: 4 kB / 1.371 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.4757, allocations: 0 / 1.371 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.4757, allocations: 0 / 1.371 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.367e-05/0.4758, allocations: 4 kB / 1.371 GB, free: 10.01 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.4758, allocations: 0 / 1.371 GB, free: 10.01 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.579e-05/0.4758, allocations: 4 kB / 1.371 GB, free: 10.01 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.4758, allocations: 3.984 kB / 1.371 GB, free: 10 MB / 0.8698 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 0.0001111/0.4759, allocations: 193.2 kB / 1.371 GB, free: 9.805 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.367e-05/0.476, allocations: 124.8 kB / 1.371 GB, free: 9.676 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.186e-05/0.4761, allocations: 112.6 kB / 1.372 GB, free: 9.559 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.964e-05/0.4761, allocations: 180.2 kB / 1.372 GB, free: 9.375 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.257e-05/0.4762, allocations: 176.3 kB / 1.372 GB, free: 9.195 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.469e-05/0.4763, allocations: 184.2 kB / 1.372 GB, free: 9.008 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002329/0.4765, allocations: 425.1 kB / 1.372 GB, free: 8.535 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.493e-05/0.4766, allocations: 105.6 kB / 1.373 GB, free: 8.426 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.918e-05/0.4766, allocations: 108.9 kB / 1.373 GB, free: 8.312 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.95e-05/0.4767, allocations: 176.3 kB / 1.373 GB, free: 8.133 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.126e-05/0.4768, allocations: 188.2 kB / 1.373 GB, free: 7.941 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.725e-05/0.4769, allocations: 184.2 kB / 1.373 GB, free: 7.754 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.39e-05/0.477, allocations: 180.3 kB / 1.373 GB, free: 7.57 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001532/0.4771, allocations: 307.7 kB / 1.374 GB, free: 7.246 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.4772, allocations: 190.1 kB / 1.374 GB, free: 7.035 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.54e-05/0.4773, allocations: 180.2 kB / 1.374 GB, free: 6.852 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.451e-05/0.4774, allocations: 112.9 kB / 1.374 GB, free: 6.734 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.371e-05/0.4775, allocations: 184.2 kB / 1.374 GB, free: 6.547 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.315e-05/0.4775, allocations: 105 kB / 1.374 GB, free: 6.438 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001066/0.4777, allocations: 128.8 kB / 1.374 GB, free: 6.312 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4777, allocations: 0 / 1.374 GB, free: 6.312 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002272/0.4779, allocations: 4 kB / 1.374 GB, free: 6.309 MB / 0.8698 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.0004287/0.4783, allocations: 0.8209 MB / 1.375 GB, free: 5.457 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 6.702e-05/0.4784, allocations: 11.98 kB / 1.375 GB, free: 5.445 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.4784, allocations: 0 / 1.375 GB, free: 5.445 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.406e-06/0.4784, allocations: 0 / 1.375 GB, free: 5.445 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.4787, allocations: 0.5356 MB / 1.376 GB, free: 4.906 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007386/0.4795, allocations: 0.5765 MB / 1.376 GB, free: 4.281 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.4798, allocations: 0.7069 MB / 1.377 GB, free: 3.551 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.409e-05/0.4798, allocations: 4 kB / 1.377 GB, free: 3.547 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.155e-05/0.4798, allocations: 19.42 kB / 1.377 GB, free: 3.527 MB / 0.8698 GB Notification: Performance of SimCode: time 3.31e-07/0.4799, allocations: 0 / 1.377 GB, free: 3.527 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01348/0.4933, allocations: 1.38 MB / 1.378 GB, free: 2.277 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002677/0.4937, allocations: 186.5 kB / 1.379 GB, free: 2.039 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.486/1.98, allocations: 0 / 1.379 GB, free: 2.039 MB / 0.8698 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