Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.0008852/0.0008852, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0008343/0.0008343, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.9091/0.9091, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.753/1.753, allocations: 377.8 MB / 0.6228 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.Timer,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|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,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|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.604e-06/2.604e-06, allocations: 0 / 0.9822 GB, free: 2.105 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.66e-05/2.92e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.102 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001328/0.001357, allocations: 0.7177 MB / 0.9829 GB, free: 1.387 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001304/0.002662, allocations: 1.287 MB / 0.9842 GB, free: 88 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.943e-05/0.002711, allocations: 0 / 0.9842 GB, free: 88 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.25e-05/0.002744, allocations: 7.875 kB / 0.9842 GB, free: 80 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 8.108e-05/0.002825, allocations: 23.8 kB / 0.9842 GB, free: 56 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.000536/0.003361, allocations: 245.8 kB / 0.9844 GB, free: 15.82 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002232/0.003584, allocations: 255.5 kB / 0.9847 GB, free: 15.57 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.003695, allocations: 16.22 kB / 0.9847 GB, free: 15.55 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.003839, allocations: 143.8 kB / 0.9848 GB, free: 15.41 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.003967, allocations: 79.8 kB / 0.9849 GB, free: 15.33 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.364e-05/0.004001, allocations: 24 kB / 0.9849 GB, free: 15.31 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.788e-05/0.004069, allocations: 39.98 kB / 0.985 GB, free: 15.27 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 3.548e-05/0.004104, allocations: 31.89 kB / 0.985 GB, free: 15.24 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 8.144e-05/0.004186, allocations: 79.86 kB / 0.9851 GB, free: 15.16 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002526/0.004438, allocations: 263.3 kB / 0.9853 GB, free: 14.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.004441, allocations: 3.938 kB / 0.9853 GB, free: 14.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.112e-06/0.004442, allocations: 0 / 0.9853 GB, free: 14.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.004447, allocations: 0 / 0.9853 GB, free: 14.9 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005689/0.005016, allocations: 429.2 kB / 0.9857 GB, free: 14.43 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.005057, allocations: 8.031 kB / 0.9857 GB, free: 14.43 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.319e-05/0.005121, allocations: 20.88 kB / 0.9858 GB, free: 14.41 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003771/0.005498, allocations: 189.8 kB / 0.9859 GB, free: 14.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.757e-05/0.005525, allocations: 16.36 kB / 0.986 GB, free: 14.18 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.914e-05/0.005554, allocations: 16.38 kB / 0.986 GB, free: 14.16 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.005746, allocations: 139.3 kB / 0.9861 GB, free: 14.02 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.005755, allocations: 192 / 0.9861 GB, free: 14.02 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.005772, allocations: 12.36 kB / 0.9861 GB, free: 14.01 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.005778, allocations: 4.125 kB / 0.9861 GB, free: 14 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.005878, allocations: 63.95 kB / 0.9862 GB, free: 13.94 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005253/0.006403, allocations: 416.5 kB / 0.9866 GB, free: 13.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.006609, allocations: 145.2 kB / 0.9867 GB, free: 13.34 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.469e-05/0.006673, allocations: 53.69 kB / 0.9868 GB, free: 13.28 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.006685, allocations: 4 kB / 0.9868 GB, free: 13.28 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002703/0.006955, allocations: 209 kB / 0.987 GB, free: 13.05 MB / 0.948 GB Notification: Performance of pre-optimization done (n=22): time 1.142e-06/0.006957, allocations: 0 / 0.987 GB, free: 13.05 MB / 0.948 GB Notification: Performance of matching and sorting (n=22): time 0.000424/0.007381, allocations: 325.3 kB / 0.9873 GB, free: 12.73 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.007434, allocations: 89.11 kB / 0.9874 GB, free: 12.62 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.78e-05/0.007511, allocations: 122.1 kB / 0.9875 GB, free: 12.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.007544, allocations: 41.7 kB / 0.9875 GB, free: 12.45 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.436e-05/0.007598, allocations: 96.58 kB / 0.9876 GB, free: 12.35 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.791e-05/0.007636, allocations: 55.62 kB / 0.9877 GB, free: 12.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.545e-05/0.007722, allocations: 77.69 kB / 0.9877 GB, free: 12.21 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003635/0.008085, allocations: 330.8 kB / 0.9881 GB, free: 11.88 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.008238, allocations: 151.6 kB / 0.9882 GB, free: 11.72 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.008402, allocations: 220.1 kB / 0.9884 GB, free: 11.46 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001981/0.0086, allocations: 241.2 kB / 0.9886 GB, free: 11.19 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.008603, allocations: 4 kB / 0.9886 GB, free: 11.19 MB / 0.948 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003885/0.008991, allocations: 416.1 kB / 0.989 GB, free: 10.75 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.24e-05/0.009034, allocations: 67.39 kB / 0.9891 GB, free: 10.67 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.00904, allocations: 4 kB / 0.9891 GB, free: 10.67 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.009054, allocations: 4 kB / 0.9891 GB, free: 10.66 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.359e-05/0.009128, allocations: 19.92 kB / 0.9891 GB, free: 10.64 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.009134, allocations: 4 kB / 0.9891 GB, free: 10.64 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.009317, allocations: 68.05 kB / 0.9892 GB, free: 10.57 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.293e-05/0.00934, allocations: 20.36 kB / 0.9892 GB, free: 10.55 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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 9.968e-05/0.009439, allocations: 147.6 kB / 0.9894 GB, free: 10.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.782e-05/0.009457, allocations: 19.91 kB / 0.9894 GB, free: 10.38 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.595e-05/0.009493, allocations: 16.44 kB / 0.9894 GB, free: 10.37 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.009496, allocations: 7.938 kB / 0.9894 GB, free: 10.36 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.009503, allocations: 4 kB / 0.9894 GB, free: 10.36 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.009508, allocations: 3.984 kB / 0.9894 GB, free: 10.35 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004257/0.009934, allocations: 0.5442 MB / 0.9899 GB, free: 9.77 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.009937, allocations: 3.984 kB / 0.9899 GB, free: 9.766 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.376e-05/0.009971, allocations: 15.94 kB / 0.99 GB, free: 9.75 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.009974, allocations: 0 / 0.99 GB, free: 9.75 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.009988, allocations: 7.984 kB / 0.99 GB, free: 9.742 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.00999, allocations: 0 / 0.99 GB, free: 9.742 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.009991, allocations: 4 kB / 0.99 GB, free: 9.738 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002933/0.01028, allocations: 437 kB / 0.9904 GB, free: 9.297 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.042e-05/0.01029, allocations: 7.953 kB / 0.9904 GB, free: 9.289 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.01032, allocations: 15.92 kB / 0.9904 GB, free: 9.273 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.402e-05/0.0104, allocations: 11.98 kB / 0.9904 GB, free: 9.262 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.619e-05/0.01046, allocations: 27.89 kB / 0.9905 GB, free: 9.234 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.01047, allocations: 23.98 kB / 0.9905 GB, free: 9.211 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.938e-05/0.01051, allocations: 94.14 kB / 0.9906 GB, free: 9.121 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01051, allocations: 0 / 0.9906 GB, free: 9.121 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000243/0.01076, allocations: 63.83 kB / 0.9906 GB, free: 9.059 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001459/0.0109, allocations: 115.2 kB / 0.9907 GB, free: 8.938 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000351/0.01125, allocations: 382 kB / 0.9911 GB, free: 8.527 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01126, allocations: 0 / 0.9911 GB, free: 8.527 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.531e-05/0.01135, allocations: 87.84 kB / 0.9912 GB, free: 8.441 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.01163, allocations: 27.38 kB / 0.9912 GB, free: 8.418 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004204/0.01205, allocations: 301.1 kB / 0.9915 GB, free: 8.09 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.534e-05/0.01212, allocations: 92.97 kB / 0.9916 GB, free: 7.98 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.81e-05/0.01216, allocations: 24.5 kB / 0.9916 GB, free: 7.953 MB / 0.948 GB Notification: Performance of SimCode: time 6.11e-07/0.01216, allocations: 0 / 0.9916 GB, free: 7.953 MB / 0.948 GB Notification: Performance of Templates: time 0.002981/0.01514, allocations: 2.293 MB / 0.9938 GB, free: 5.668 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,noThr.u,noThr.y,noThr.t,noThr.passed,thrTim.u,thrTim.y,thrTim.t,thrTim.passed,thrTim1.u,thrTim1.y,thrTim1.t,thrTim1.passed Variables in the result:noThr.passed,noThr.t,noThr.u,noThr.y,thrTim.passed,thrTim.t,thrTim.u,thrTim.y,thrTim1.passed,thrTim1.t,thrTim1.u,thrTim1.y,time [Calling sys.exit(0), Time elapsed: 6.662732434459031]