Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.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.Logical.Validation.TimerAccumulating,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating",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.347/2.347, allocations: 387.4 MB / 394.9 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.001149/0.001149, allocations: 180.7 kB / 487.4 MB, free: 5.082 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.605/1.605, allocations: 221.5 MB / 0.7824 GB, free: 0.9609 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008431/0.0008431, allocations: 95.66 kB / 0.9219 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.264e-05/2.265e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2778, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9708/1.249, allocations: 149.1 MB / 1.352 GB, free: 17.95 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/1.249, allocations: 68.94 kB / 1.352 GB, free: 17.95 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01262/1.262, allocations: 3.97 MB / 1.356 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.693e-06/1.262, allocations: 0 / 1.356 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.348e-06/1.262, allocations: 7.812 kB / 1.356 GB, free: 33.45 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0008257/1.263, allocations: 0.5328 MB / 1.356 GB, free: 33 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/1.263, allocations: 11.59 kB / 1.356 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.164e-05/1.263, allocations: 37.44 kB / 1.356 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/1.263, allocations: 172 kB / 1.356 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.088e-05/1.263, allocations: 12.84 kB / 1.356 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.554e-05/1.263, allocations: 35.08 kB / 1.356 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002086/1.263, allocations: 108 kB / 1.357 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003182/1.264, allocations: 234.6 kB / 1.357 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/1.264, allocations: 0 / 1.357 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.115e-05/1.264, allocations: 6.609 kB / 1.357 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/1.264, allocations: 0 / 1.357 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007716/1.264, allocations: 0.5488 MB / 1.357 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000378/1.265, allocations: 389.5 kB / 1.358 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/1.265, allocations: 186.3 kB / 1.358 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/1.265, allocations: 7.828 kB / 1.358 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004437/1.265, allocations: 346.4 kB / 1.358 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=46): time 1.663e-06/1.265, allocations: 4 kB / 1.358 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=46): time 0.0006692/1.266, allocations: 478.8 kB / 1.359 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/1.266, allocations: 72.72 kB / 1.359 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/1.266, allocations: 126.2 kB / 1.359 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.475e-05/1.266, allocations: 44.09 kB / 1.359 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.58e-05/1.266, allocations: 98.86 kB / 1.359 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.75e-05/1.267, allocations: 94.89 kB / 1.359 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/1.267, allocations: 11.72 kB / 1.359 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001512/1.267, allocations: 340.2 kB / 1.359 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002214/1.267, allocations: 125.8 kB / 1.36 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002731/1.267, allocations: 268.1 kB / 1.36 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004657/1.268, allocations: 156.2 kB / 1.36 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/1.268, allocations: 0 / 1.36 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0009398/1.269, allocations: 485.6 kB / 1.36 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.494e-05/1.269, allocations: 66.34 kB / 1.36 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/1.269, allocations: 12.25 kB / 1.36 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.517e-05/1.269, allocations: 7.5 kB / 1.36 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/1.269, allocations: 47.23 kB / 1.361 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/1.269, allocations: 15.64 kB / 1.361 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004614/1.269, allocations: 94.33 kB / 1.361 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.252e-05/1.269, allocations: 32.94 kB / 1.361 GB, free: 31.24 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 64 ($PRE.noThr.u,$PRE.noThr.reset,$PRE.thrTim.u,$PRE.thrTim.reset,$PRE.noThrWitRes.u,$PRE.noThrWitRes.reset,$PRE.thrTimWitRes.u,$PRE.thrTimWitRes.reset,$PRE.noThr.passed,noThr.passed,$PRE.thrTim.passed,thrTim.passed,$PRE.noThrWitRes.passed,noThrWitRes.passed,$PRE.thrTimWitRes.passed,thrTimWitRes.passed,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition20,noThr.reset,$whenCondition16,thrTim.reset,$whenCondition12,$whenCondition8,noThrWitRes.reset,thrTimWitRes.reset,$PRE.resTim.y,resTim.y,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition5,$whenCondition6,$whenCondition7,noThr.u,$PRE.noThr.entryTime,noThr.entryTime,$PRE.noThr.yAcc,noThr.yAcc,thrTim.u,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.thrTim.yAcc,thrTim.yAcc,noThrWitRes.u,$PRE.noThrWitRes.entryTime,noThrWitRes.entryTime,$PRE.noThrWitRes.yAcc,noThrWitRes.yAcc,thrTimWitRes.u,$PRE.thrTimWitRes.entryTime,thrTimWitRes.entryTime,$PRE.thrTimWitRes.yAcc,thrTimWitRes.yAcc,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 2 * 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.0001883/1.27, allocations: 154.6 kB / 1.361 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000577/1.27, allocations: 486.8 kB / 1.361 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.856e-05/1.27, allocations: 34 kB / 1.361 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.435e-05/1.27, allocations: 21.59 kB / 1.361 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/1.27, allocations: 7.797 kB / 1.361 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/1.27, allocations: 0 / 1.361 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/1.27, allocations: 2.484 kB / 1.361 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001375/1.272, allocations: 0.9537 MB / 1.362 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/1.272, allocations: 0.75 kB / 1.362 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.41e-05/1.272, allocations: 21.52 kB / 1.362 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/1.272, allocations: 0 / 1.362 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.603e-05/1.272, allocations: 19.62 kB / 1.362 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/1.272, allocations: 3.812 kB / 1.362 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/1.272, allocations: 64 / 1.362 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006768/1.273, allocations: 0.622 MB / 1.363 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.068e-05/1.273, allocations: 92.58 kB / 1.363 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.847e-05/1.273, allocations: 17.77 kB / 1.363 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/1.273, allocations: 29.52 kB / 1.363 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/1.273, allocations: 53.83 kB / 1.363 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.517e-05/1.273, allocations: 32.05 kB / 1.363 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.757e-05/1.273, allocations: 107.4 kB / 1.363 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.273, allocations: 0 / 1.363 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004925/1.274, allocations: 89.66 kB / 1.363 GB, free: 30.31 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 42 (noThrWitRes.reset,thrTimWitRes.reset,noThr.u,noThrWitRes.u,thrTim.u,thrTimWitRes.u,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,noThr.passed,noThr.entryTime,noThr.yAcc,thrTim.passed,thrTim.entryTime,thrTim.yAcc,noThrWitRes.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.passed,thrTimWitRes.entryTime,thrTimWitRes.yAcc,booPul.y,resTim.y,noThr.reset,thrTim.reset) * Number of discrete states: 16 (thrTimWitRes.entryTime,thrTimWitRes.yAcc,thrTim.entryTime,thrTim.yAcc,thrTim.y,thrTim.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,noThr.entryTime,noThr.yAcc,noThr.y,noThr.passed,noThrWitRes.y,noThrWitRes.passed,thrTimWitRes.y,thrTimWitRes.passed) * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.001328/1.275, allocations: 1.336 MB / 1.365 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000683/1.276, allocations: 0.4978 MB / 1.365 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.276, allocations: 4.062 kB / 1.365 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002961/1.276, allocations: 289 kB / 1.365 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/1.276, allocations: 27.09 kB / 1.365 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000918/1.277, allocations: 400.7 kB / 1.366 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/1.278, allocations: 0.7386 MB / 1.367 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 9.438e-05/1.278, allocations: 32 kB / 1.367 GB, free: 28.4 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/1.278, allocations: 58.17 kB / 1.367 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of SimCode: time 5.11e-07/1.278, allocations: 7.906 kB / 1.367 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0282/1.306, allocations: 5.174 MB / 1.372 GB, free: 28.03 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001696/1.306, allocations: 153 kB / 1.372 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.756/3.062, allocations: 3.938 kB / 1.372 GB, free: 27.84 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating_res.mat does not exist to compare? outputFormat=mat