Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",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.007313/0.007313, allocations: 106.2 kB / 15.74 MB, free: 6 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.001698/0.001698, allocations: 198.6 kB / 16.68 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.429/2.429, allocations: 437 MB / 0.7105 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 67.91 kB / 1.018 GB, free: 9.898 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.838/0.8394, allocations: 151.6 MB / 1.166 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001833/0.8413, allocations: 0.6794 MB / 1.167 GB, free: 3.125 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001437/0.8427, allocations: 1.162 MB / 1.168 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.142e-05/0.8428, allocations: 4 kB / 1.168 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.943e-05/0.8428, allocations: 3.938 kB / 1.168 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.259e-05/0.8429, allocations: 11.91 kB / 1.168 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004962/0.8434, allocations: 139.1 kB / 1.168 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001956/0.8436, allocations: 155.7 kB / 1.168 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.411e-05/0.8437, allocations: 12 kB / 1.168 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.467e-05/0.8438, allocations: 59.83 kB / 1.168 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.8439, allocations: 55.86 kB / 1.168 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.083e-05/0.844, allocations: 12 kB / 1.168 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.697e-05/0.8441, allocations: 23.98 kB / 1.168 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.196e-05/0.8441, allocations: 23.91 kB / 1.168 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.442e-05/0.8442, allocations: 51.91 kB / 1.168 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.8444, allocations: 137.9 kB / 1.169 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.8444, allocations: 0 / 1.169 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8444, allocations: 0 / 1.169 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.421e-06/0.8444, allocations: 0 / 1.169 GB, free: 1.277 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006455/0.8451, allocations: 417.1 kB / 1.169 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.8451, allocations: 8.922 kB / 1.169 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.837e-05/0.8451, allocations: 38.73 kB / 1.169 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.992e-05/0.8452, allocations: 8.844 kB / 1.169 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003798/0.8456, allocations: 216.4 kB / 1.169 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.8456, allocations: 12.36 kB / 1.169 GB, free: 500 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.069e-05/0.8457, allocations: 8.375 kB / 1.169 GB, free: 492 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.8458, allocations: 89.88 kB / 1.169 GB, free: 396 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.8459, allocations: 3.984 kB / 1.169 GB, free: 392 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.8459, allocations: 8 kB / 1.169 GB, free: 384 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.8459, allocations: 0 / 1.169 GB, free: 384 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.844e-05/0.846, allocations: 43.91 kB / 1.169 GB, free: 340 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005792/0.8466, allocations: 348.6 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.8468, allocations: 98.53 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.186e-05/0.8468, allocations: 37 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.8469, allocations: 8.016 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002985/0.8472, allocations: 135.2 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/0.8472, allocations: 0 / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13): time 0.0004057/0.8476, allocations: 199 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.8476, allocations: 55.39 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.204e-05/0.8477, allocations: 125.7 kB / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.386e-05/0.8478, allocations: 33.7 kB / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.964e-05/0.8479, allocations: 92.14 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/0.8479, allocations: 35.53 kB / 1.171 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.226e-05/0.848, allocations: 45.7 kB / 1.171 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.8481, allocations: 322.8 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.8482, allocations: 51.97 kB / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.8484, allocations: 78.5 kB / 1.171 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002237/0.8486, allocations: 139.2 kB / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.8486, allocations: 0 / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003249/0.8489, allocations: 211.1 kB / 1.171 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/0.849, allocations: 37.83 kB / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.849, allocations: 4 kB / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.849, allocations: 0 / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.673e-05/0.8491, allocations: 12 kB / 1.171 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.8491, allocations: 11.92 kB / 1.171 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.8493, allocations: 27.97 kB / 1.171 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.8493, allocations: 8 kB / 1.171 GB, free: 14.08 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition5,$whenCondition6,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001051/0.8494, allocations: 141.7 kB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.843e-05/0.8495, allocations: 7.906 kB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.2e-05/0.8495, allocations: 8.5 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.8495, allocations: 0 / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.8495, allocations: 4 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.8495, allocations: 0 / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004059/0.8499, allocations: 443.4 kB / 1.172 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.8499, allocations: 0 / 1.172 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.836e-05/0.85, allocations: 4 kB / 1.172 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.85, allocations: 7.938 kB / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.85, allocations: 8 kB / 1.172 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.85, allocations: 0 / 1.172 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.85, allocations: 0 / 1.172 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.8503, allocations: 264 kB / 1.172 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.485e-05/0.8503, allocations: 81.02 kB / 1.172 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.8504, allocations: 4 kB / 1.172 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.337e-05/0.8505, allocations: 15.98 kB / 1.172 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.554e-05/0.8505, allocations: 15.91 kB / 1.172 GB, free: 13 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.8505, allocations: 12 kB / 1.172 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.955e-05/0.8506, allocations: 87.27 kB / 1.173 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8506, allocations: 0 / 1.173 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002705/0.8508, allocations: 32 kB / 1.173 GB, free: 12.87 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006136/0.8515, allocations: 0.8095 MB / 1.173 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003116/0.8518, allocations: 191.3 kB / 1.174 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.8518, allocations: 0 / 1.174 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.8519, allocations: 75.91 kB / 1.174 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.8522, allocations: 15.92 kB / 1.174 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001801/0.854, allocations: 1.704 MB / 1.175 GB, free: 9.938 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.8543, allocations: 0.6885 MB / 1.176 GB, free: 9.223 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.095e-05/0.8543, allocations: 16.55 kB / 1.176 GB, free: 9.207 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.655e-05/0.8544, allocations: 19.44 kB / 1.176 GB, free: 9.188 MB / 0.9044 GB Notification: Performance of SimCode: time 1.523e-06/0.8544, allocations: 0 / 1.176 GB, free: 9.188 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02004/0.8744, allocations: 2.787 MB / 1.179 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.763/8.637, allocations: 22.39 kB / 1.179 GB, free: 6.52 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime_fmu --startTime=-10 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,noThr.u,noThr.y,noThr.t,noThr.passed,thrTim.u,thrTim.y,thrTim.t,thrTim.passed Variables in the result:booPul.period,booPul.shift,booPul.width,booPul.y,noThr.passed,noThr.t,noThr.u,noThr.y,thrTim.passed,thrTim.t,thrTim.u,thrTim.y,time