Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.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.TimerAccumulatingNegativeStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulatingNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulatingNegativeStartTime",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.457/2.457, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001167/0.001167, allocations: 180.8 kB / 487.4 MB, free: 5.031 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.564/1.564, allocations: 221.5 MB / 0.7824 GB, free: 0.9219 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.000868/0.0008681, allocations: 105.4 kB / 0.9219 GB, free: 2.141 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 3.254e-05/3.243e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2806, allocations: 142.4 MB / 1.206 GB, free: 43.82 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9742/1.255, allocations: 149.1 MB / 1.352 GB, free: 18.04 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000328/1.255, allocations: 76.91 kB / 1.352 GB, free: 18.03 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01709/1.272, allocations: 3.981 MB / 1.356 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.856e-06/1.272, allocations: 0 / 1.356 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.697e-05/1.272, allocations: 3.969 kB / 1.356 GB, free: 33.54 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.0014/1.274, allocations: 0.5337 MB / 1.356 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.897e-05/1.274, allocations: 12.06 kB / 1.356 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002589/1.274, allocations: 38.06 kB / 1.356 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/1.274, allocations: 176.4 kB / 1.356 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.345e-05/1.274, allocations: 12.45 kB / 1.356 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001721/1.275, allocations: 37.19 kB / 1.356 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003373/1.275, allocations: 116.6 kB / 1.357 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004897/1.275, allocations: 228.3 kB / 1.357 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/1.275, allocations: 0 / 1.357 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.072e-05/1.276, allocations: 6.875 kB / 1.357 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/1.276, allocations: 4.781 kB / 1.357 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/1.277, allocations: 0.5489 MB / 1.357 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005554/1.277, allocations: 383.6 kB / 1.358 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000296/1.278, allocations: 185.4 kB / 1.358 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/1.278, allocations: 4 kB / 1.358 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006784/1.278, allocations: 349.6 kB / 1.358 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=46): time 3.086e-06/1.278, allocations: 7.594 kB / 1.358 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of matching and sorting (n=46): time 0.001019/1.279, allocations: 487 kB / 1.359 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/1.279, allocations: 62.41 kB / 1.359 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/1.28, allocations: 123.2 kB / 1.359 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.902e-05/1.28, allocations: 43.8 kB / 1.359 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/1.28, allocations: 97.36 kB / 1.359 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/1.28, allocations: 101.5 kB / 1.359 GB, free: 32 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/1.28, allocations: 3.812 kB / 1.359 GB, free: 32 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001562/1.28, allocations: 337.2 kB / 1.359 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003138/1.28, allocations: 130.4 kB / 1.36 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003763/1.281, allocations: 268.8 kB / 1.36 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006153/1.281, allocations: 158 kB / 1.36 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/1.281, allocations: 0 / 1.36 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001255/1.283, allocations: 474 kB / 1.36 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.118e-05/1.283, allocations: 70.36 kB / 1.36 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/1.283, allocations: 3.875 kB / 1.36 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.551e-05/1.283, allocations: 8.25 kB / 1.36 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/1.283, allocations: 44.66 kB / 1.361 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.519e-05/1.283, allocations: 19.67 kB / 1.361 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006209/1.284, allocations: 94.02 kB / 1.361 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/1.284, allocations: 35.53 kB / 1.361 GB, free: 31.33 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.0002123/1.284, allocations: 150.3 kB / 1.361 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007975/1.285, allocations: 486.7 kB / 1.361 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.087e-05/1.285, allocations: 34.27 kB / 1.361 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.629e-05/1.285, allocations: 25.59 kB / 1.361 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/1.285, allocations: 7.797 kB / 1.361 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/1.285, allocations: 0 / 1.361 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/1.285, allocations: 2.859 kB / 1.361 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001735/1.287, allocations: 0.9526 MB / 1.362 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/1.287, allocations: 0 / 1.362 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.874e-05/1.287, allocations: 15.23 kB / 1.362 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-06/1.287, allocations: 7.875 kB / 1.362 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.672e-05/1.287, allocations: 18.62 kB / 1.362 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/1.287, allocations: 0 / 1.362 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/1.287, allocations: 3.75 kB / 1.362 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009803/1.288, allocations: 0.6225 MB / 1.363 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.046e-05/1.288, allocations: 88.8 kB / 1.363 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.577e-05/1.288, allocations: 26.25 kB / 1.363 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002741/1.288, allocations: 24.81 kB / 1.363 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/1.289, allocations: 51.09 kB / 1.363 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.364e-05/1.289, allocations: 37.64 kB / 1.363 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.371e-05/1.289, allocations: 101.9 kB / 1.363 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.61e-07/1.289, allocations: 0 / 1.363 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006766/1.289, allocations: 99 kB / 1.363 GB, free: 30.4 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.001633/1.291, allocations: 1.342 MB / 1.365 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0009349/1.292, allocations: 0.498 MB / 1.365 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/1.292, allocations: 4.062 kB / 1.365 GB, free: 29.37 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004356/1.293, allocations: 283.1 kB / 1.365 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004133/1.293, allocations: 27 kB / 1.365 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/1.294, allocations: 406.8 kB / 1.366 GB, free: 29.19 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004239/1.295, allocations: 0.7359 MB / 1.367 GB, free: 28.49 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001277/1.295, allocations: 32.09 kB / 1.367 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/1.295, allocations: 60.5 kB / 1.367 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of SimCode: time 2.91e-07/1.295, allocations: 0 / 1.367 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02965/1.325, allocations: 5.204 MB / 1.372 GB, free: 28.09 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001806/1.325, allocations: 173.7 kB / 1.372 GB, free: 27.9 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.007/3.332, allocations: 0 / 1.372 GB, free: 27.9 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulatingNegativeStartTime_fmu --startTime=-10 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulatingNegativeStartTime.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime_res.mat does not exist to compare? outputFormat=mat