Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001455/0.001455, allocations: 88.72 kB / 19.44 MB, free: 356 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.001738/0.001738, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.833/1.833, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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 3.307/3.307, allocations: 429.6 MB / 0.673 GB, free: 3.879 MB / 0.6355 GB " [Timeout remaining time 176] 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.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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.8776 GB, free: 6.461 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.91e-05/3.116e-05, allocations: 9.547 kB / 0.8776 GB, free: 6.453 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002039/0.00207, allocations: 0.7148 MB / 0.8783 GB, free: 5.762 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002222/0.004291, allocations: 1.279 MB / 0.8796 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.433e-05/0.004366, allocations: 0 / 0.8796 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.765e-05/0.004403, allocations: 4.5 kB / 0.8796 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001229/0.004526, allocations: 28.41 kB / 0.8796 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007992/0.005325, allocations: 239.1 kB / 0.8798 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004032/0.005729, allocations: 259.5 kB / 0.8801 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.005834, allocations: 12.22 kB / 0.8801 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002827/0.006117, allocations: 143.8 kB / 0.8802 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001897/0.006307, allocations: 79.8 kB / 0.8803 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.759e-05/0.006364, allocations: 24 kB / 0.8803 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.437e-05/0.006459, allocations: 33.69 kB / 0.8804 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.144e-05/0.00651, allocations: 35.88 kB / 0.8804 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001285/0.006639, allocations: 71.94 kB / 0.8805 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004138/0.007052, allocations: 271.2 kB / 0.8807 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.007056, allocations: 0.9688 kB / 0.8807 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.192e-06/0.007057, allocations: 0 / 0.8807 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.007064, allocations: 0 / 0.8807 GB, free: 3.297 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008682/0.007932, allocations: 430.4 kB / 0.8811 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.00797, allocations: 8.031 kB / 0.8811 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001283/0.008098, allocations: 26.02 kB / 0.8812 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006294/0.008727, allocations: 198.8 kB / 0.8813 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.937e-05/0.008767, allocations: 17.27 kB / 0.8814 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.287e-05/0.00882, allocations: 20.38 kB / 0.8814 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002833/0.009103, allocations: 135.5 kB / 0.8815 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.009112, allocations: 192 / 0.8815 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.00913, allocations: 2.219 kB / 0.8815 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.00914, allocations: 8.125 kB / 0.8815 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001501/0.00929, allocations: 59.89 kB / 0.8816 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008722/0.01016, allocations: 429.8 kB / 0.882 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003061/0.01047, allocations: 134.3 kB / 0.8821 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.01058, allocations: 65.67 kB / 0.8822 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.0106, allocations: 0 / 0.8822 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005207/0.01112, allocations: 215 kB / 0.8824 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=22): time 1.373e-06/0.01112, allocations: 0 / 0.8824 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22): time 0.000679/0.0118, allocations: 332.1 kB / 0.8827 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.325e-05/0.01187, allocations: 85.11 kB / 0.8828 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.01202, allocations: 126 kB / 0.8829 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.78e-05/0.01208, allocations: 41.7 kB / 0.8829 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.45e-05/0.01218, allocations: 104.7 kB / 0.883 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.421e-05/0.01224, allocations: 55.62 kB / 0.8831 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.01239, allocations: 77.67 kB / 0.8832 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.01257, allocations: 328.8 kB / 0.8835 GB, free: 268 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002525/0.01282, allocations: 147.6 kB / 0.8836 GB, free: 104 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003287/0.01315, allocations: 215.6 kB / 0.8838 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003761/0.01353, allocations: 249 kB / 0.8841 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.01353, allocations: 4 kB / 0.8841 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007865/0.01432, allocations: 441.3 kB / 0.8845 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.909e-05/0.01439, allocations: 63.41 kB / 0.8846 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.0144, allocations: 4 kB / 0.8846 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/0.01442, allocations: 4 kB / 0.8846 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.01453, allocations: 19.92 kB / 0.8846 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.01453, allocations: 0 / 0.8846 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003969/0.01493, allocations: 71.81 kB / 0.8846 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.137e-05/0.01497, allocations: 23.97 kB / 0.8847 GB, free: 14.91 MB / 0.8542 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 0.0001729/0.01514, allocations: 139.8 kB / 0.8848 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.092e-05/0.0152, allocations: 35.83 kB / 0.8848 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.453e-05/0.01525, allocations: 12.44 kB / 0.8849 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.01525, allocations: 4 kB / 0.8849 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.01526, allocations: 0 / 0.8849 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.01527, allocations: 7.984 kB / 0.8849 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000742/0.01601, allocations: 0.5442 MB / 0.8854 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.01601, allocations: 4 kB / 0.8854 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.678e-05/0.01606, allocations: 11.94 kB / 0.8854 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.01606, allocations: 0 / 0.8854 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/0.01608, allocations: 11.98 kB / 0.8854 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.01609, allocations: 0 / 0.8854 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01609, allocations: 0 / 0.8854 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005492/0.01664, allocations: 444.2 kB / 0.8858 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.03e-05/0.01666, allocations: 11.94 kB / 0.8859 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.984e-05/0.0167, allocations: 11.94 kB / 0.8859 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.01686, allocations: 11.98 kB / 0.8859 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.485e-05/0.01694, allocations: 23.95 kB / 0.8859 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.586e-05/0.01697, allocations: 19.98 kB / 0.8859 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.497e-05/0.01704, allocations: 102.5 kB / 0.886 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01705, allocations: 0 / 0.886 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000398/0.01744, allocations: 59.92 kB / 0.8861 GB, free: 13.42 MB / 0.8542 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.0002125/0.01766, allocations: 119.2 kB / 0.8862 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000638/0.01829, allocations: 373.9 kB / 0.8865 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.0183, allocations: 448 / 0.8865 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001823/0.01848, allocations: 91.91 kB / 0.8866 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004356/0.01891, allocations: 34.45 kB / 0.8867 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006516/0.01957, allocations: 273.4 kB / 0.8869 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001327/0.0197, allocations: 92.95 kB / 0.887 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.827e-05/0.01978, allocations: 21.48 kB / 0.887 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.96e-05/0.01984, allocations: 24.48 kB / 0.8871 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of SimCode: time 4.81e-07/0.01984, allocations: 0 / 0.8871 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of Templates: time 0.007488/0.02732, allocations: 2.902 MB / 0.8899 GB, free: 9.477 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.717517814948224]