Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001804/0.001804, allocations: 109.1 kB / 18.19 MB, free: 3.973 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002051/0.002051, allocations: 192.4 kB / 21.34 MB, free: 0.8359 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 225.6 MB / 249.9 MB, free: 3.215 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.717/2.717, allocations: 489.7 MB / 0.7761 GB, free: 2.578 MB / 0.6075 GB [Timeout remaining time 87] 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.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=552,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=552,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 71.88 kB / 1.127 GB, free: 5.215 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8634/0.8653, allocations: 172 MB / 1.295 GB, free: 38.64 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002242/0.8676, allocations: 1.598 MB / 1.296 GB, free: 37.54 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.8686, allocations: 0.787 MB / 1.297 GB, free: 37.01 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.034e-05/0.8687, allocations: 6.938 kB / 1.297 GB, free: 37 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.125e-05/0.8687, allocations: 3.938 kB / 1.297 GB, free: 37 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.331e-05/0.8688, allocations: 19.8 kB / 1.297 GB, free: 36.98 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004726/0.8692, allocations: 151 kB / 1.297 GB, free: 36.91 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.8694, allocations: 139.9 kB / 1.297 GB, free: 36.84 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.268e-05/0.8694, allocations: 21.39 kB / 1.297 GB, free: 36.84 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.08e-05/0.8695, allocations: 50.39 kB / 1.298 GB, free: 36.82 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.36e-05/0.8696, allocations: 79.17 kB / 1.298 GB, free: 36.79 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.8696, allocations: 11.28 kB / 1.298 GB, free: 36.79 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000172/0.8698, allocations: 112.9 kB / 1.298 GB, free: 36.75 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.976e-05/0.8698, allocations: 30.41 kB / 1.298 GB, free: 36.73 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.23e-05/0.8699, allocations: 53.39 kB / 1.298 GB, free: 36.7 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.8701, allocations: 194.5 kB / 1.298 GB, free: 36.64 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.8701, allocations: 2.719 kB / 1.298 GB, free: 36.64 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.042e-06/0.8701, allocations: 0 / 1.298 GB, free: 36.64 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.8701, allocations: 0 / 1.298 GB, free: 36.64 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006073/0.8707, allocations: 481.5 kB / 1.298 GB, free: 36.17 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 2.949e-05/0.8707, allocations: 14.75 kB / 1.298 GB, free: 36.16 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.422e-05/0.8708, allocations: 14.56 kB / 1.298 GB, free: 36.16 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.186e-05/0.8709, allocations: 185.9 kB / 1.299 GB, free: 35.95 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.8709, allocations: 3 kB / 1.299 GB, free: 35.95 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.8709, allocations: 13.78 kB / 1.299 GB, free: 35.94 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.8711, allocations: 91.86 kB / 1.299 GB, free: 35.89 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.8711, allocations: 3.938 kB / 1.299 GB, free: 35.89 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.8712, allocations: 3.328 kB / 1.299 GB, free: 35.89 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.8712, allocations: 2.688 kB / 1.299 GB, free: 35.89 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001802/0.8713, allocations: 65.8 kB / 1.299 GB, free: 35.86 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000712/0.8721, allocations: 375 kB / 1.299 GB, free: 35.55 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.8722, allocations: 68.56 kB / 1.299 GB, free: 35.51 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.8723, allocations: 45.31 kB / 1.299 GB, free: 35.49 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.8723, allocations: 0 / 1.299 GB, free: 35.49 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000222/0.8725, allocations: 107.1 kB / 1.299 GB, free: 35.42 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.462e-06/0.8725, allocations: 0 / 1.299 GB, free: 35.42 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0004807/0.873, allocations: 222.8 kB / 1.3 GB, free: 35.32 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.292e-05/0.8731, allocations: 54.64 kB / 1.3 GB, free: 35.26 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.419e-05/0.8731, allocations: 146.4 kB / 1.3 GB, free: 35.14 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.8731, allocations: 28.48 kB / 1.3 GB, free: 35.11 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.5e-05/0.8732, allocations: 95.06 kB / 1.3 GB, free: 35.01 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.8732, allocations: 28.67 kB / 1.3 GB, free: 34.99 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.532e-05/0.8732, allocations: 29.12 kB / 1.3 GB, free: 34.97 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.933e-05/0.8733, allocations: 324.4 kB / 1.3 GB, free: 34.65 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.8734, allocations: 42.44 kB / 1.3 GB, free: 34.64 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.8735, allocations: 72.02 kB / 1.3 GB, free: 34.59 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002167/0.8737, allocations: 115.1 kB / 1.301 GB, free: 34.52 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.8737, allocations: 3.938 kB / 1.301 GB, free: 34.51 MB / 1.061 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002802/0.874, allocations: 150.7 kB / 1.301 GB, free: 34.44 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.874, allocations: 6.219 kB / 1.301 GB, free: 34.44 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.874, allocations: 4.094 kB / 1.301 GB, free: 34.44 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.8741, allocations: 2.969 kB / 1.301 GB, free: 34.44 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.8742, allocations: 22.11 kB / 1.301 GB, free: 34.43 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.8742, allocations: 6.469 kB / 1.301 GB, free: 34.43 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.874e-05/0.8743, allocations: 13.31 kB / 1.301 GB, free: 34.43 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.8743, allocations: 9.719 kB / 1.301 GB, free: 34.42 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * 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 6.474e-05/0.8744, allocations: 123.7 kB / 1.301 GB, free: 34.3 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/0.8744, allocations: 15.03 kB / 1.301 GB, free: 34.29 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.725e-05/0.8744, allocations: 15.17 kB / 1.301 GB, free: 34.28 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.8744, allocations: 0 / 1.301 GB, free: 34.28 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.8744, allocations: 11.09 kB / 1.301 GB, free: 34.27 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.8744, allocations: 0 / 1.301 GB, free: 34.27 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004623/0.8749, allocations: 460.5 kB / 1.301 GB, free: 33.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.8749, allocations: 0 / 1.301 GB, free: 33.91 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.826e-05/0.875, allocations: 9.125 kB / 1.301 GB, free: 33.91 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.875, allocations: 7.938 kB / 1.301 GB, free: 33.9 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.875, allocations: 6.984 kB / 1.301 GB, free: 33.89 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.875, allocations: 3.234 kB / 1.301 GB, free: 33.89 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.875, allocations: 3.984 kB / 1.301 GB, free: 33.89 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003168/0.8753, allocations: 262.4 kB / 1.302 GB, free: 33.71 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.051e-05/0.8753, allocations: 91.89 kB / 1.302 GB, free: 33.61 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.305e-05/0.8753, allocations: 2.938 kB / 1.302 GB, free: 33.61 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.8755, allocations: 14.09 kB / 1.302 GB, free: 33.6 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-05/0.8755, allocations: 9.484 kB / 1.302 GB, free: 33.6 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.8755, allocations: 3.188 kB / 1.302 GB, free: 33.6 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.158e-05/0.8756, allocations: 107.7 kB / 1.302 GB, free: 33.52 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.8756, allocations: 0 / 1.302 GB, free: 33.52 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003206/0.8759, allocations: 50.55 kB / 1.302 GB, free: 33.51 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000314/0.8762, allocations: 170.8 kB / 1.302 GB, free: 33.39 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002972/0.8765, allocations: 108.9 kB / 1.302 GB, free: 33.36 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.8765, allocations: 0 / 1.302 GB, free: 33.36 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.8767, allocations: 50.41 kB / 1.302 GB, free: 33.35 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.8769, allocations: 19.34 kB / 1.302 GB, free: 33.34 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004155/0.8773, allocations: 265.3 kB / 1.302 GB, free: 33.13 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.693e-05/0.8774, allocations: 0.6966 MB / 1.303 GB, free: 32.43 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.815e-05/0.8775, allocations: 14.36 kB / 1.303 GB, free: 32.43 MB / 1.061 GB Notification: Performance of SimCode: time 4.01e-07/0.8775, allocations: 0 / 1.303 GB, free: 32.43 MB / 1.061 GB Notification: Performance of Templates: time 0.003266/0.8807, allocations: 2.057 MB / 1.305 GB, free: 32.22 MB / 1.061 GB [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches