Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009487/0.0009487, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009723/0.0009723, allocations: 169.3 kB / 23.02 MB, free: 1.551 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.964/0.964, allocations: 177.1 MB / 203.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.073/2.073, allocations: 429.5 MB / 0.6733 GB, free: 4.055 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.014e-05/2.154e-05, allocations: 3.25 kB / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001211/0.001233, allocations: 0.6862 MB / 0.8789 GB, free: 5.645 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.002385, allocations: 1.206 MB / 0.88 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.206e-05/0.002427, allocations: 0 / 0.88 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.049e-05/0.002458, allocations: 3.938 kB / 0.88 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.888e-05/0.002527, allocations: 16.47 kB / 0.8801 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000392/0.002919, allocations: 144.7 kB / 0.8802 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000147/0.003066, allocations: 144.8 kB / 0.8803 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.423e-05/0.00315, allocations: 7.938 kB / 0.8803 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.784e-05/0.003248, allocations: 81.05 kB / 0.8804 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.905e-05/0.003347, allocations: 47.86 kB / 0.8805 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.677e-05/0.003373, allocations: 12 kB / 0.8805 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.658e-05/0.00343, allocations: 24.77 kB / 0.8805 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.727e-05/0.003457, allocations: 19.97 kB / 0.8805 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.979e-05/0.003517, allocations: 49.52 kB / 0.8806 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.003671, allocations: 103.7 kB / 0.8807 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.003673, allocations: 0 / 0.8807 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.61e-07/0.003674, allocations: 0 / 0.8807 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.003678, allocations: 0 / 0.8807 GB, free: 3.793 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005102/0.004188, allocations: 451.2 kB / 0.8811 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.004236, allocations: 19.95 kB / 0.8811 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.501e-05/0.004301, allocations: 17.98 kB / 0.8811 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002859/0.004587, allocations: 148.7 kB / 0.8813 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/0.004613, allocations: 9.031 kB / 0.8813 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.004641, allocations: 21.08 kB / 0.8813 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.004775, allocations: 82.91 kB / 0.8814 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.004787, allocations: 192 / 0.8814 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.004801, allocations: 9.672 kB / 0.8814 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.00481, allocations: 8.125 kB / 0.8814 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.385e-05/0.004863, allocations: 27.97 kB / 0.8814 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003932/0.005257, allocations: 336.6 kB / 0.8817 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.005387, allocations: 80.61 kB / 0.8818 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.801e-05/0.005425, allocations: 27.67 kB / 0.8818 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.426e-06/0.005434, allocations: 4 kB / 0.8818 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001667/0.0056, allocations: 131.9 kB / 0.882 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.005602, allocations: 0 / 0.882 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.0002745/0.005876, allocations: 184.8 kB / 0.8822 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.005907, allocations: 55.41 kB / 0.8822 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.397e-05/0.005991, allocations: 169.9 kB / 0.8824 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.006013, allocations: 33.7 kB / 0.8824 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.064e-05/0.006084, allocations: 140.5 kB / 0.8825 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/0.006109, allocations: 31.8 kB / 0.8826 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.56e-05/0.006175, allocations: 55.34 kB / 0.8826 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.00632, allocations: 0.4884 MB / 0.8831 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.112e-05/0.006401, allocations: 70.23 kB / 0.8832 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.677e-05/0.006498, allocations: 120.6 kB / 0.8833 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.006617, allocations: 141.7 kB / 0.8834 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.00662, allocations: 0.9062 kB / 0.8834 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002359/0.006856, allocations: 245.4 kB / 0.8836 GB, free: 476 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/0.006885, allocations: 36.17 kB / 0.8837 GB, free: 436 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.006891, allocations: 4 kB / 0.8837 GB, free: 432 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.006907, allocations: 0 / 0.8837 GB, free: 432 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.45e-05/0.006972, allocations: 15.98 kB / 0.8837 GB, free: 416 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.006979, allocations: 3.938 kB / 0.8837 GB, free: 412 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.057e-05/0.00707, allocations: 27.92 kB / 0.8837 GB, free: 384 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.007085, allocations: 11.98 kB / 0.8837 GB, free: 372 kB / 0.8386 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.000148/0.007233, allocations: 164.6 kB / 0.8839 GB, free: 196 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/0.007253, allocations: 35.86 kB / 0.8839 GB, free: 160 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.958e-05/0.007283, allocations: 8.438 kB / 0.8839 GB, free: 152 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.007287, allocations: 4 kB / 0.8839 GB, free: 148 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.007289, allocations: 0 / 0.8839 GB, free: 148 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.007292, allocations: 0 / 0.8839 GB, free: 148 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.007565, allocations: 429 kB / 0.8844 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.007567, allocations: 4 kB / 0.8844 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.716e-05/0.007584, allocations: 0 / 0.8844 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.007586, allocations: 4 kB / 0.8844 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.007596, allocations: 4 kB / 0.8844 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.007597, allocations: 4 kB / 0.8844 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.007598, allocations: 0 / 0.8844 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/0.007776, allocations: 315.7 kB / 0.8847 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.554e-06/0.007784, allocations: 7.938 kB / 0.8847 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.007803, allocations: 11.98 kB / 0.8847 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.519e-05/0.007848, allocations: 4 kB / 0.8847 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/0.007889, allocations: 11.97 kB / 0.8847 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.397e-06/0.007899, allocations: 11.98 kB / 0.8847 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.388e-05/0.007933, allocations: 123.2 kB / 0.8848 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.007933, allocations: 0 / 0.8848 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001809/0.008114, allocations: 35.98 kB / 0.8849 GB, free: 15.14 MB / 0.8542 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.0001055/0.008219, allocations: 113.3 kB / 0.885 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002086/0.008428, allocations: 204.6 kB / 0.8852 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.00843, allocations: 7.938 kB / 0.8852 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.875e-05/0.008489, allocations: 55.64 kB / 0.8852 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/0.008672, allocations: 24.38 kB / 0.8853 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002834/0.008956, allocations: 186.7 kB / 0.8854 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001727/0.009128, allocations: 71.36 kB / 0.8855 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.589e-05/0.009154, allocations: 4.5 kB / 0.8855 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.927e-05/0.009183, allocations: 24.48 kB / 0.8855 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of SimCode: time 6.02e-07/0.009184, allocations: 0 / 0.8855 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of Templates: time 0.003354/0.01254, allocations: 1.764 MB / 0.8872 GB, free: 12.66 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.491573169827461]