Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.001364/0.001364, allocations: 79.28 kB / 19.18 MB, free: 2.52 MB / 14.72 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.001501/0.001501, allocations: 163.4 kB / 22.46 MB, free: 5.375 MB / 14.72 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.523/1.523, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.828/2.828, allocations: 359 MB / 0.6037 GB, free: 15 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 0.951 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.127e-05/3.331e-05, allocations: 2.281 kB / 0.951 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.003478/0.003512, allocations: 1.595 MB / 0.9525 GB, free: 9.992 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001855/0.005367, allocations: 0.8224 MB / 0.9533 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.952e-05/0.005456, allocations: 3.938 kB / 0.9533 GB, free: 9.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.163e-05/0.005498, allocations: 11.86 kB / 0.9533 GB, free: 9.148 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.927e-05/0.005587, allocations: 15.81 kB / 0.9533 GB, free: 9.133 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008269/0.006414, allocations: 179.3 kB / 0.9535 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000236/0.00665, allocations: 143.5 kB / 0.9537 GB, free: 8.816 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.006764, allocations: 17.56 kB / 0.9537 GB, free: 8.793 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002412/0.007005, allocations: 91.86 kB / 0.9538 GB, free: 8.703 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.007125, allocations: 55.84 kB / 0.9538 GB, free: 8.648 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.863e-05/0.007164, allocations: 12 kB / 0.9538 GB, free: 8.637 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003706/0.007534, allocations: 151.6 kB / 0.954 GB, free: 8.488 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.924e-05/0.007583, allocations: 27.91 kB / 0.954 GB, free: 8.461 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.134e-05/0.007655, allocations: 39.89 kB / 0.954 GB, free: 8.422 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004525/0.008107, allocations: 235.3 kB / 0.9543 GB, free: 8.191 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.008111, allocations: 0 / 0.9543 GB, free: 8.191 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.233e-06/0.008112, allocations: 0 / 0.9543 GB, free: 8.191 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.056e-06/0.00812, allocations: 4 kB / 0.9543 GB, free: 8.188 MB / 0.8575 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.0008909/0.009011, allocations: 421 kB / 0.9547 GB, free: 7.734 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.009051, allocations: 8.031 kB / 0.9547 GB, free: 7.727 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006944/0.009746, allocations: 64.84 kB / 0.9547 GB, free: 7.664 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.01005, allocations: 157.5 kB / 0.9549 GB, free: 7.484 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.01007, allocations: 384 / 0.9549 GB, free: 7.484 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.283e-05/0.0101, allocations: 12.38 kB / 0.9549 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002769/0.01038, allocations: 90.19 kB / 0.955 GB, free: 7.379 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.01039, allocations: 192 / 0.955 GB, free: 7.379 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.01041, allocations: 384 / 0.955 GB, free: 7.379 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.01042, allocations: 7.938 kB / 0.955 GB, free: 7.371 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002203/0.01064, allocations: 63.89 kB / 0.955 GB, free: 7.309 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008706/0.01151, allocations: 300.3 kB / 0.9553 GB, free: 6.984 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.01171, allocations: 62.55 kB / 0.9554 GB, free: 6.914 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.01185, allocations: 44.83 kB / 0.9554 GB, free: 6.867 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.01188, allocations: 3.938 kB / 0.9554 GB, free: 6.863 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002606/0.01214, allocations: 107.3 kB / 0.9555 GB, free: 6.746 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.01214, allocations: 8 kB / 0.9555 GB, free: 6.738 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0006335/0.01277, allocations: 209.5 kB / 0.9557 GB, free: 6.527 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/0.01283, allocations: 59.41 kB / 0.9558 GB, free: 6.457 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.01297, allocations: 151 kB / 0.9559 GB, free: 6.301 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.013, allocations: 29.7 kB / 0.956 GB, free: 6.266 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.307e-05/0.01308, allocations: 104.4 kB / 0.9561 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/0.01311, allocations: 23.94 kB / 0.9561 GB, free: 6.137 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.831e-05/0.01318, allocations: 37.7 kB / 0.9561 GB, free: 6.094 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.01332, allocations: 327.2 kB / 0.9564 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.01346, allocations: 43.97 kB / 0.9565 GB, free: 5.723 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.01361, allocations: 72.27 kB / 0.9566 GB, free: 5.637 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002636/0.01387, allocations: 112.2 kB / 0.9567 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.01387, allocations: 3.938 kB / 0.9567 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003761/0.01425, allocations: 165.4 kB / 0.9568 GB, free: 5.34 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.01427, allocations: 8 kB / 0.9568 GB, free: 5.332 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.01427, allocations: 0 / 0.9568 GB, free: 5.332 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.01429, allocations: 0 / 0.9568 GB, free: 5.332 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.01444, allocations: 27.92 kB / 0.9569 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.01445, allocations: 3.984 kB / 0.9569 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.01456, allocations: 8.094 kB / 0.9569 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.01458, allocations: 8 kB / 0.9569 GB, free: 5.285 MB / 0.8575 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 0.0001156/0.01469, allocations: 121.8 kB / 0.957 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.01473, allocations: 19.95 kB / 0.957 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.036e-05/0.01476, allocations: 12.72 kB / 0.957 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.01476, allocations: 4 kB / 0.957 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.01477, allocations: 0 / 0.957 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.01477, allocations: 0 / 0.957 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006605/0.01543, allocations: 406 kB / 0.9574 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.01543, allocations: 0 / 0.9574 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.971e-05/0.0155, allocations: 15.92 kB / 0.9574 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.0155, allocations: 48 / 0.9574 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.01552, allocations: 7.984 kB / 0.9574 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.01552, allocations: 0 / 0.9574 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.01552, allocations: 0 / 0.9574 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004842/0.01601, allocations: 279.2 kB / 0.9577 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.721e-05/0.01603, allocations: 7.953 kB / 0.9577 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/0.01605, allocations: 4 kB / 0.9577 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.01619, allocations: 15.98 kB / 0.9577 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.372e-05/0.01624, allocations: 3.984 kB / 0.9577 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.01626, allocations: 4 kB / 0.9577 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.138e-05/0.01634, allocations: 107.4 kB / 0.9578 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.01634, allocations: 0 / 0.9578 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003373/0.01667, allocations: 47.88 kB / 0.9579 GB, free: 4.191 MB / 0.8575 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.0004479/0.01712, allocations: 178.3 kB / 0.9581 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003663/0.01749, allocations: 107.8 kB / 0.9582 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.01749, allocations: 0 / 0.9582 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001649/0.01766, allocations: 55.97 kB / 0.9582 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.01797, allocations: 15.98 kB / 0.9582 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005578/0.01852, allocations: 221.3 kB / 0.9584 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.906e-05/0.01861, allocations: 84.31 kB / 0.9585 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.053e-05/0.01866, allocations: 4.734 kB / 0.9585 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.438e-05/0.01871, allocations: 24.44 kB / 0.9586 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of SimCode: time 4.11e-07/0.01871, allocations: 192 / 0.9586 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of Templates: time 0.00627/0.02498, allocations: 2.044 MB / 0.9605 GB, free: 1.457 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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 [Calling sys.exit(0), Time elapsed: 8.338032513856888]