Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|thrTim.u|thrTim.passed|thrTim.y|thrTim.t|noThrWitRes.u|noThrWitRes.reset|noThrWitRes.y|noThrWitRes.t|thrTimWitRes.u|thrTimWitRes.reset|thrTimWitRes.passed|thrTimWitRes.y|thrTimWitRes.t",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|thrTim.u|thrTim.passed|thrTim.y|thrTim.t|noThrWitRes.u|noThrWitRes.reset|noThrWitRes.y|noThrWitRes.t|thrTimWitRes.u|thrTimWitRes.reset|thrTimWitRes.passed|thrTimWitRes.y|thrTimWitRes.t",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.505/2.505, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.001276/0.001276, allocations: 188.4 kB / 496.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.574/1.574, allocations: 221.3 MB / 0.7915 GB, free: 5.43 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.001062/0.001062, allocations: 91.84 kB / 0.9317 GB, free: 5.754 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.287e-05/3.289e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3422, allocations: 143 MB / 1.219 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.047/1.389, allocations: 150.6 MB / 1.366 GB, free: 3.391 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/1.39, allocations: 73.45 kB / 1.366 GB, free: 3.352 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01213/1.402, allocations: 3.989 MB / 1.37 GB, free: 15.85 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.404e-06/1.402, allocations: 3.938 kB / 1.37 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.331e-05/1.402, allocations: 4 kB / 1.37 GB, free: 15.84 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.0008544/1.403, allocations: 0.5304 MB / 1.37 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/1.403, allocations: 12.03 kB / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.684e-05/1.403, allocations: 35.75 kB / 1.37 GB, free: 15.22 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/1.403, allocations: 175.7 kB / 1.371 GB, free: 15.01 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.606e-05/1.403, allocations: 23.59 kB / 1.371 GB, free: 14.99 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.851e-05/1.403, allocations: 38.86 kB / 1.371 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004124/1.404, allocations: 251.2 kB / 1.371 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/1.404, allocations: 4 kB / 1.371 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.373e-05/1.404, allocations: 15.47 kB / 1.371 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/1.404, allocations: 0 / 1.371 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002266/1.404, allocations: 127.1 kB / 1.371 GB, free: 14.67 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009001/1.405, allocations: 0.6004 MB / 1.372 GB, free: 14.12 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005145/1.405, allocations: 409.8 kB / 1.372 GB, free: 13.82 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002674/1.406, allocations: 207.9 kB / 1.372 GB, free: 13.7 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/1.406, allocations: 8 kB / 1.372 GB, free: 13.69 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005504/1.406, allocations: 357 kB / 1.373 GB, free: 13.39 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=46): time 1.933e-06/1.406, allocations: 0 / 1.373 GB, free: 13.39 MB / 0.8386 GB Notification: Performance of matching and sorting (n=46): time 0.000838/1.407, allocations: 0.528 MB / 1.373 GB, free: 12.98 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/1.407, allocations: 62.84 kB / 1.373 GB, free: 12.91 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/1.407, allocations: 130.1 kB / 1.373 GB, free: 12.78 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.207e-05/1.407, allocations: 51.33 kB / 1.373 GB, free: 12.74 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.152e-05/1.407, allocations: 103.2 kB / 1.373 GB, free: 12.64 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.971e-05/1.408, allocations: 107 kB / 1.373 GB, free: 12.56 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.917e-05/1.408, allocations: 11.06 kB / 1.373 GB, free: 12.55 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000143/1.408, allocations: 336.4 kB / 1.374 GB, free: 12.23 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000267/1.408, allocations: 148 kB / 1.374 GB, free: 12.13 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003628/1.408, allocations: 296.8 kB / 1.374 GB, free: 11.84 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003219/1.409, allocations: 211 kB / 1.374 GB, free: 11.66 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/1.409, allocations: 7.938 kB / 1.374 GB, free: 11.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008613/1.41, allocations: 0.5547 MB / 1.375 GB, free: 11.19 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.998e-05/1.41, allocations: 74.59 kB / 1.375 GB, free: 11.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/1.41, allocations: 4.562 kB / 1.375 GB, free: 11.11 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/1.41, allocations: 8 kB / 1.375 GB, free: 11.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/1.41, allocations: 51.59 kB / 1.375 GB, free: 11.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/1.41, allocations: 7.938 kB / 1.375 GB, free: 11.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005121/1.41, allocations: 114 kB / 1.375 GB, free: 10.94 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-05/1.41, allocations: 31.73 kB / 1.375 GB, free: 10.91 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.0001776/1.411, allocations: 171.2 kB / 1.375 GB, free: 10.76 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.626e-05/1.411, allocations: 31.8 kB / 1.375 GB, free: 10.73 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.767e-05/1.411, allocations: 23.89 kB / 1.375 GB, free: 10.72 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/1.411, allocations: 4 kB / 1.375 GB, free: 10.71 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/1.411, allocations: 4 kB / 1.375 GB, free: 10.71 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/1.411, allocations: 3.984 kB / 1.375 GB, free: 10.71 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001442/1.412, allocations: 1.044 MB / 1.377 GB, free: 9.789 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/1.412, allocations: 4.062 kB / 1.377 GB, free: 9.785 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.022e-05/1.412, allocations: 15.06 kB / 1.377 GB, free: 9.773 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/1.412, allocations: 4 kB / 1.377 GB, free: 9.77 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.415e-05/1.412, allocations: 19.84 kB / 1.377 GB, free: 9.754 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/1.412, allocations: 0 / 1.377 GB, free: 9.754 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.412, allocations: 4 kB / 1.377 GB, free: 9.75 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007787/1.413, allocations: 0.6585 MB / 1.377 GB, free: 9.184 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.701e-05/1.413, allocations: 100.8 kB / 1.377 GB, free: 9.066 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.432e-05/1.413, allocations: 21.67 kB / 1.377 GB, free: 9.055 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001876/1.414, allocations: 35.52 kB / 1.377 GB, free: 9.023 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/1.414, allocations: 57.94 kB / 1.377 GB, free: 8.973 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.176e-05/1.414, allocations: 35.03 kB / 1.377 GB, free: 8.945 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.331e-05/1.414, allocations: 99.58 kB / 1.378 GB, free: 8.855 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.01e-07/1.414, allocations: 0 / 1.378 GB, free: 8.855 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004129/1.414, allocations: 113.9 kB / 1.378 GB, free: 8.758 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.0002868/1.414, allocations: 160.2 kB / 1.378 GB, free: 8.605 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007941/1.415, allocations: 0.5451 MB / 1.378 GB, free: 8.16 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/1.415, allocations: 0 / 1.378 GB, free: 8.16 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003531/1.416, allocations: 299.3 kB / 1.379 GB, free: 7.977 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/1.416, allocations: 30.73 kB / 1.379 GB, free: 7.957 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006703/1.417, allocations: 372.2 kB / 1.379 GB, free: 7.637 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/1.417, allocations: 0.7303 MB / 1.38 GB, free: 6.879 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001/1.417, allocations: 38.95 kB / 1.38 GB, free: 6.844 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.98e-05/1.417, allocations: 31.38 kB / 1.38 GB, free: 6.816 MB / 0.8386 GB Notification: Performance of SimCode: time 4.41e-07/1.417, allocations: 0 / 1.38 GB, free: 6.816 MB / 0.8386 GB Notification: Performance of Templates: time 0.007677/1.425, allocations: 3.843 MB / 1.384 GB, free: 3.035 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulatingNegativeStartTime.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches