Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 113.3 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.891/2.891, allocations: 489.3 MB / 0.7687 GB, free: 3.73 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y|booPul.y|hol.y|holTim.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y|booPul.y|hol.y|holTim.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 67.89 kB / 1.103 GB, free: 0.7812 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8425/0.8445, allocations: 163.8 MB / 1.263 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal): time 0.001904/0.8464, allocations: 0.9908 MB / 1.264 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001756/0.8482, allocations: 1.582 MB / 1.265 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.237e-05/0.8483, allocations: 7 kB / 1.265 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.253e-05/0.8484, allocations: 14.62 kB / 1.265 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.187e-05/0.8485, allocations: 25.59 kB / 1.265 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000552/0.849, allocations: 232.7 kB / 1.265 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003182/0.8494, allocations: 337.8 kB / 1.266 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.8495, allocations: 77.81 kB / 1.266 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001994/0.8497, allocations: 137.5 kB / 1.266 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/0.8499, allocations: 134.6 kB / 1.266 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.917e-05/0.8499, allocations: 42 kB / 1.266 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.8501, allocations: 47.64 kB / 1.266 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.882e-05/0.8501, allocations: 69.39 kB / 1.266 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.8502, allocations: 126.8 kB / 1.266 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004019/0.8507, allocations: 344 kB / 1.267 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.8507, allocations: 0 / 1.267 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8507, allocations: 0 / 1.267 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.8507, allocations: 0.7812 kB / 1.267 GB, free: 5.438 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0007963/0.8515, allocations: 0.5438 MB / 1.267 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.8515, allocations: 9.734 kB / 1.267 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.505e-05/0.8516, allocations: 25.75 kB / 1.267 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002933/0.8519, allocations: 269.1 kB / 1.267 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.195e-05/0.852, allocations: 22.91 kB / 1.267 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.512e-05/0.852, allocations: 26.27 kB / 1.267 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005168/0.8526, allocations: 244.7 kB / 1.268 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.8526, allocations: 0 / 1.268 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.73e-05/0.8526, allocations: 18.59 kB / 1.268 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.8526, allocations: 5.016 kB / 1.268 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004698/0.8531, allocations: 192.8 kB / 1.268 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009163/0.854, allocations: 0.6596 MB / 1.269 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004446/0.8545, allocations: 202.5 kB / 1.269 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002808/0.8548, allocations: 124.3 kB / 1.269 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.8548, allocations: 3.094 kB / 1.269 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005027/0.8553, allocations: 285.7 kB / 1.269 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=27): time 1.804e-06/0.8553, allocations: 0.5938 kB / 1.269 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of matching and sorting (n=27): time 0.001038/0.8564, allocations: 466.2 kB / 1.27 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.8564, allocations: 60.48 kB / 1.27 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.8565, allocations: 151.5 kB / 1.27 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.916e-05/0.8566, allocations: 42.39 kB / 1.27 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.439e-05/0.8566, allocations: 126 kB / 1.27 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.299e-05/0.8567, allocations: 68.3 kB / 1.27 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.8568, allocations: 75.14 kB / 1.27 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.267e-05/0.8569, allocations: 333.4 kB / 1.27 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/0.8571, allocations: 105.4 kB / 1.271 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.8573, allocations: 157.2 kB / 1.271 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003287/0.8577, allocations: 209.5 kB / 1.271 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.8577, allocations: 0 / 1.271 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005637/0.8582, allocations: 360.7 kB / 1.271 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/0.8583, allocations: 44.8 kB / 1.271 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.8583, allocations: 0.75 kB / 1.271 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.8583, allocations: 1.844 kB / 1.271 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.8585, allocations: 29.77 kB / 1.271 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.8585, allocations: 1.781 kB / 1.271 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002506/0.8587, allocations: 61.83 kB / 1.271 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.515e-05/0.8588, allocations: 18.62 kB / 1.271 GB, free: 2.438 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 39 ($whenCondition5,$whenCondition6,holTim.truHol.entryTimeFalse,$PRE.holTim.truHol.entryTimeFalse,holTim.truHol.entryTimeTrue,$PRE.holTim.truHol.entryTimeTrue,holTim.truHol.not_y,$PRE.holTim.truHol.not_y,holTim.truHol.not_u,$PRE.holTim.truHol.not_u,holTim.truHol.y,$PRE.holTim.truHol.y,holTim.truHol.u,$PRE.holTim.truHol.u,holTim.triSam.y,$PRE.holTim.triSam.y,booPul.y,$PRE.booPul.y,hol.truHol.entryTimeFalse,$PRE.hol.truHol.entryTimeFalse,hol.truHol.entryTimeTrue,$PRE.hol.truHol.entryTimeTrue,hol.truHol.not_y,$PRE.hol.truHol.not_y,hol.truHol.not_u,$PRE.hol.truHol.not_u,hol.truHol.y,$PRE.hol.truHol.y,hol.truHol.u,$PRE.hol.truHol.u,hol.triSam.y,$PRE.hol.triSam.y,$whenCondition1,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition8,$whenCondition9,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * 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.0001202/0.8589, allocations: 151.8 kB / 1.271 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.968e-05/0.8589, allocations: 25.89 kB / 1.272 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.125e-05/0.859, allocations: 24.61 kB / 1.272 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.859, allocations: 5.812 kB / 1.272 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.859, allocations: 4.938 kB / 1.272 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.859, allocations: 0 / 1.272 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009314/0.86, allocations: 0.7377 MB / 1.272 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.86, allocations: 2.031 kB / 1.272 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.443e-05/0.86, allocations: 9.641 kB / 1.272 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.86, allocations: 6.125 kB / 1.272 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.965e-05/0.8601, allocations: 16.2 kB / 1.272 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.8601, allocations: 5.562 kB / 1.272 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.8601, allocations: 0 / 1.272 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006901/0.8608, allocations: 457.6 kB / 1.273 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.447e-05/0.8608, allocations: 90.22 kB / 1.273 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.259e-05/0.8609, allocations: 19.88 kB / 1.273 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.861, allocations: 23.64 kB / 1.273 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.465e-05/0.8611, allocations: 26.58 kB / 1.273 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.83e-05/0.8612, allocations: 21.39 kB / 1.273 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.212e-05/0.8612, allocations: 105.7 kB / 1.273 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8612, allocations: 0 / 1.273 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003272/0.8616, allocations: 71.06 kB / 1.273 GB, free: 1.324 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition7,$whenCondition9,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition2,$whenCondition4,$whenCondition3,$whenCondition1,hol.triSam.y,hol.truHol.u,hol.truHol.y,hol.truHol.not_u,hol.truHol.not_y,hol.truHol.entryTimeTrue,hol.truHol.entryTimeFalse,booPul.y,holTim.triSam.y,holTim.truHol.u,holTim.truHol.y,holTim.truHol.not_u,holTim.truHol.not_y,holTim.truHol.entryTimeTrue,holTim.truHol.entryTimeFalse) * Number of discrete states: 12 (holTim.truHol.entryTimeFalse,holTim.truHol.entryTimeTrue,hol.truHol.entryTimeFalse,hol.truHol.entryTimeTrue,holTim.truHol.not_u,hol.truHol.u,hol.truHol.not_u,holTim.truHol.u,holTim.truHol.y,holTim.truHol.not_y,hol.truHol.y,hol.truHol.not_y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.000163/0.8617, allocations: 140.8 kB / 1.273 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006256/0.8624, allocations: 343.5 kB / 1.274 GB, free: 1.066 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.8624, allocations: 0 / 1.274 GB, free: 1.066 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003235/0.8627, allocations: 183.2 kB / 1.274 GB, free: 0.9922 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.863, allocations: 30.81 kB / 1.274 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006402/0.8637, allocations: 408.6 kB / 1.274 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.8638, allocations: 0.7261 MB / 1.275 GB, free: 12 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.45e-05/0.8639, allocations: 24.56 kB / 1.275 GB, free: 0 / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/0.8639, allocations: 1.391 kB / 1.275 GB, free: 16 MB / 1.014 GB Notification: Performance of Templates: time 0.005122/0.869, allocations: 2.865 MB / 1.278 GB, free: 15.7 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_HoldReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.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: 10.637820770964026]