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.00158/0.00158, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.001042/0.001042, allocations: 173 kB / 23.49 MB, free: 1.059 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 1.026/1.026, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.114/2.114, allocations: 429.5 MB / 0.6736 GB, free: 4.043 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 2.144e-06/2.144e-06, allocations: 0 / 0.8782 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.762e-05/1.977e-05, allocations: 9.344 kB / 0.8782 GB, free: 6.602 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001293/0.001313, allocations: 0.6747 MB / 0.8789 GB, free: 5.945 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.002467, allocations: 1.209 MB / 0.88 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.506e-05/0.002512, allocations: 0.75 kB / 0.88 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.823e-05/0.00254, allocations: 7.938 kB / 0.8801 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.94e-05/0.00261, allocations: 8.781 kB / 0.8801 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004164/0.003026, allocations: 144.6 kB / 0.8802 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.003189, allocations: 147.7 kB / 0.8803 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.994e-05/0.003279, allocations: 4.5 kB / 0.8803 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.003382, allocations: 79.92 kB / 0.8804 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.524e-05/0.003477, allocations: 48.52 kB / 0.8805 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.0035, allocations: 13.12 kB / 0.8805 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.73e-05/0.003557, allocations: 23.98 kB / 0.8805 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.52e-05/0.003582, allocations: 19.97 kB / 0.8805 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.799e-05/0.00364, allocations: 48.95 kB / 0.8806 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.003805, allocations: 107.7 kB / 0.8807 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.003807, allocations: 0 / 0.8807 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.51e-07/0.003808, allocations: 1.031 kB / 0.8807 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.003812, allocations: 0 / 0.8807 GB, free: 4.09 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.0005184/0.004331, allocations: 459.1 kB / 0.8811 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.00437, allocations: 8.031 kB / 0.8811 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.073e-05/0.004431, allocations: 20.88 kB / 0.8811 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.004705, allocations: 145.8 kB / 0.8813 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.004727, allocations: 8.375 kB / 0.8813 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.004749, allocations: 13.47 kB / 0.8813 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.004878, allocations: 90.83 kB / 0.8814 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.004885, allocations: 192 / 0.8814 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.004897, allocations: 9.078 kB / 0.8814 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.004906, allocations: 8.125 kB / 0.8814 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.473e-05/0.004961, allocations: 33.52 kB / 0.8814 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003886/0.005349, allocations: 335.5 kB / 0.8818 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.005472, allocations: 76.53 kB / 0.8818 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.967e-05/0.005512, allocations: 31.66 kB / 0.8819 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.574e-06/0.00552, allocations: 4 kB / 0.8819 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001667/0.005686, allocations: 130.4 kB / 0.882 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 1.233e-06/0.005688, allocations: 1.562 kB / 0.882 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.0002753/0.005963, allocations: 184.6 kB / 0.8822 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.005995, allocations: 59.39 kB / 0.8822 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.83e-05/0.006073, allocations: 169.9 kB / 0.8824 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.006094, allocations: 37.05 kB / 0.8824 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.839e-05/0.006143, allocations: 134.8 kB / 0.8825 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.705e-05/0.00617, allocations: 35.8 kB / 0.8826 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.487e-05/0.006225, allocations: 47.36 kB / 0.8826 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.006333, allocations: 0.4923 MB / 0.8831 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.841e-05/0.006411, allocations: 65.67 kB / 0.8832 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.48e-05/0.006506, allocations: 125.1 kB / 0.8833 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.006631, allocations: 141.2 kB / 0.8834 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.006634, allocations: 0 / 0.8834 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002309/0.006865, allocations: 241.8 kB / 0.8837 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.153e-05/0.006896, allocations: 37.81 kB / 0.8837 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.006901, allocations: 8 kB / 0.8837 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.006915, allocations: 0 / 0.8837 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.809e-05/0.006973, allocations: 12 kB / 0.8837 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.00698, allocations: 3.984 kB / 0.8837 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.608e-05/0.007076, allocations: 27.92 kB / 0.8837 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.007089, allocations: 8 kB / 0.8837 GB, free: 0.6641 MB / 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 8.049e-05/0.007169, allocations: 172.5 kB / 0.8839 GB, free: 496 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.074e-05/0.00719, allocations: 31.88 kB / 0.8839 GB, free: 464 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.57e-05/0.007215, allocations: 8.438 kB / 0.8839 GB, free: 456 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.007218, allocations: 4 kB / 0.884 GB, free: 452 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.007221, allocations: 0 / 0.884 GB, free: 452 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.007225, allocations: 0 / 0.884 GB, free: 452 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002789/0.007504, allocations: 421.2 kB / 0.8844 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.007506, allocations: 4 kB / 0.8844 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.837e-05/0.007525, allocations: 7.938 kB / 0.8844 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.007527, allocations: 0 / 0.8844 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.007536, allocations: 4 kB / 0.8844 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.007537, allocations: 4 kB / 0.8844 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.00754, allocations: 4 kB / 0.8844 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001812/0.007721, allocations: 311.7 kB / 0.8847 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.955e-06/0.007729, allocations: 7.938 kB / 0.8847 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.007748, allocations: 11.98 kB / 0.8847 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.518e-05/0.007793, allocations: 4 kB / 0.8847 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.212e-05/0.007835, allocations: 11.97 kB / 0.8847 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.007846, allocations: 11.98 kB / 0.8847 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.624e-05/0.007882, allocations: 123.2 kB / 0.8848 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.007882, allocations: 4 kB / 0.8848 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001811/0.008063, allocations: 31.98 kB / 0.8849 GB, free: 15.44 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.0001177/0.008181, allocations: 121.5 kB / 0.885 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000215/0.008396, allocations: 200.6 kB / 0.8852 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.008397, allocations: 0 / 0.8852 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.838e-05/0.008466, allocations: 59.59 kB / 0.8852 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.008655, allocations: 21.47 kB / 0.8853 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004416/0.009097, allocations: 182.7 kB / 0.8854 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.122e-05/0.009138, allocations: 71.36 kB / 0.8855 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.695e-05/0.009165, allocations: 4.5 kB / 0.8855 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.938e-05/0.009194, allocations: 20.5 kB / 0.8855 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of SimCode: time 5.21e-07/0.009195, allocations: 3.938 kB / 0.8855 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of Templates: time 0.00325/0.01245, allocations: 1.784 MB / 0.8873 GB, free: 12.95 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.410431512165815]