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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.699/1.699, allocations: 390.4 MB / 397.7 MB, free: 11.28 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.0009012/0.0009012, allocations: 181.3 kB / 490.8 MB, free: 1.926 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.047/1.047, allocations: 221.4 MB / 0.7863 GB, free: 13.7 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.0007963/0.0007963, allocations: 99.28 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.392e-06/6.482e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1645, allocations: 143 MB / 1.212 GB, free: 40.09 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4434/0.6079, allocations: 149.9 MB / 1.358 GB, free: 17.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001647/0.6081, allocations: 70.17 kB / 1.358 GB, free: 17.5 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.00983/0.6179, allocations: 3.713 MB / 1.362 GB, free: 17.28 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.6179, allocations: 3.969 kB / 1.362 GB, free: 17.28 MB / 0.823 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.0006814/0.6186, allocations: 0.5367 MB / 1.362 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.6187, allocations: 9 kB / 1.362 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.835e-05/0.6187, allocations: 34.06 kB / 1.362 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.438e-05/0.6188, allocations: 184.1 kB / 1.362 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.918e-05/0.6189, allocations: 11.78 kB / 1.362 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.101e-05/0.6189, allocations: 36.75 kB / 1.362 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002033/0.6191, allocations: 105.2 kB / 1.363 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003161/0.6195, allocations: 233.6 kB / 1.363 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.6195, allocations: 3.938 kB / 1.363 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.969e-05/0.6195, allocations: 10.95 kB / 1.363 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.6195, allocations: 3.344 kB / 1.363 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006301/0.6202, allocations: 0.5297 MB / 1.363 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003695/0.6205, allocations: 387.4 kB / 1.364 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002011/0.6208, allocations: 193.6 kB / 1.364 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.6208, allocations: 2.812 kB / 1.364 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003383/0.6211, allocations: 272.5 kB / 1.364 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=46): time 1.583e-06/0.6211, allocations: 1.219 kB / 1.364 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of matching and sorting (n=46): time 0.000541/0.6217, allocations: 372.3 kB / 1.364 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.6217, allocations: 66.25 kB / 1.365 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.639e-05/0.6218, allocations: 125.6 kB / 1.365 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.072e-05/0.6219, allocations: 39.92 kB / 1.365 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.493e-05/0.6219, allocations: 95.61 kB / 1.365 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.935e-05/0.622, allocations: 100.6 kB / 1.365 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.768e-05/0.622, allocations: 7.75 kB / 1.365 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.6221, allocations: 335.2 kB / 1.365 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/0.6224, allocations: 127.2 kB / 1.365 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/0.6226, allocations: 272.6 kB / 1.366 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004117/0.623, allocations: 167.1 kB / 1.366 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.623, allocations: 9.656 kB / 1.366 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008132/0.6239, allocations: 462.1 kB / 1.366 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.6239, allocations: 7.516 kB / 1.366 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.6239, allocations: 4.5 kB / 1.366 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.6239, allocations: 7.5 kB / 1.366 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.6241, allocations: 46.83 kB / 1.366 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.6241, allocations: 16.64 kB / 1.366 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004332/0.6245, allocations: 107.7 kB / 1.366 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.794e-05/0.6246, allocations: 32.98 kB / 1.366 GB, free: 31.12 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.000125/0.6247, allocations: 155.4 kB / 1.367 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.771e-05/0.6247, allocations: 25.72 kB / 1.367 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.202e-05/0.6248, allocations: 27.03 kB / 1.367 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.768e-06/0.6248, allocations: 4.5 kB / 1.367 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.6248, allocations: 4.875 kB / 1.367 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.6248, allocations: 2.922 kB / 1.367 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.6259, allocations: 0.8438 MB / 1.367 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.6259, allocations: 0 / 1.367 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.097e-05/0.6259, allocations: 17.55 kB / 1.367 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.626, allocations: 6.75 kB / 1.367 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.231e-05/0.626, allocations: 21.39 kB / 1.367 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.626, allocations: 6.656 kB / 1.367 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.626, allocations: 1.469 kB / 1.367 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005107/0.6265, allocations: 0.5059 MB / 1.368 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.647e-05/0.6266, allocations: 91.7 kB / 1.368 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.863e-05/0.6266, allocations: 21.66 kB / 1.368 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.6268, allocations: 41.61 kB / 1.368 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.393e-05/0.6269, allocations: 38.08 kB / 1.368 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.959e-05/0.627, allocations: 35.77 kB / 1.368 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.836e-05/0.627, allocations: 103.1 kB / 1.368 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003754/0.6274, allocations: 95.17 kB / 1.368 GB, free: 30.24 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.0001662/0.6276, allocations: 150.2 kB / 1.369 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005337/0.6281, allocations: 442.9 kB / 1.369 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.6281, allocations: 1.438 kB / 1.369 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002683/0.6284, allocations: 288.9 kB / 1.369 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.6286, allocations: 24.36 kB / 1.369 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005759/0.6292, allocations: 356 kB / 1.37 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000325/0.6295, allocations: 0.7701 MB / 1.37 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of SimCode: time 2.7e-07/0.6295, allocations: 1.312 kB / 1.37 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of Templates: time 0.006966/0.6365, allocations: 4.082 MB / 1.374 GB, free: 28.94 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