Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.001498/0.001498, allocations: 78.72 kB / 19.18 MB, free: 2.523 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.001692/0.001692, allocations: 166.6 kB / 22.46 MB, free: 5.371 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.491/1.491, allocations: 177.1 MB / 202.8 MB, free: 9.18 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.78/2.78, allocations: 359 MB / 0.6037 GB, free: 15 MB / 0.5762 GB " [Timeout remaining time 177] 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.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 0.9509 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.169e-05/3.313e-05, allocations: 6.219 kB / 0.951 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.003192/0.003225, allocations: 1.512 MB / 0.9524 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001969/0.005194, allocations: 0.764 MB / 0.9532 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.005326, allocations: 4 kB / 0.9532 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.456e-05/0.005381, allocations: 3.938 kB / 0.9532 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001103/0.005491, allocations: 15.8 kB / 0.9532 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.006521, allocations: 143.4 kB / 0.9533 GB, free: 9.156 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000227/0.006748, allocations: 87.69 kB / 0.9534 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.006873, allocations: 8.188 kB / 0.9534 GB, free: 9.062 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002585/0.007132, allocations: 51.94 kB / 0.9535 GB, free: 9.012 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.906e-05/0.007221, allocations: 31.84 kB / 0.9535 GB, free: 8.98 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.715e-05/0.007248, allocations: 4 kB / 0.9535 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000394/0.007642, allocations: 135.7 kB / 0.9536 GB, free: 8.844 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.381e-05/0.007686, allocations: 23.91 kB / 0.9537 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.668e-05/0.007742, allocations: 19.98 kB / 0.9537 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004504/0.008193, allocations: 167.4 kB / 0.9538 GB, free: 8.637 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.008198, allocations: 4 kB / 0.9538 GB, free: 8.633 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.433e-06/0.008199, allocations: 0 / 0.9538 GB, free: 8.633 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.008209, allocations: 4 kB / 0.9539 GB, free: 8.629 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008723/0.009082, allocations: 357.4 kB / 0.9542 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.009126, allocations: 8.031 kB / 0.9542 GB, free: 8.238 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003992/0.009525, allocations: 32.86 kB / 0.9542 GB, free: 8.207 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003044/0.00983, allocations: 133.7 kB / 0.9544 GB, free: 8.051 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.95e-05/0.009859, allocations: 4.375 kB / 0.9544 GB, free: 8.047 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.009876, allocations: 4.375 kB / 0.9544 GB, free: 8.043 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.01009, allocations: 70.22 kB / 0.9544 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.0101, allocations: 192 / 0.9544 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.01012, allocations: 8.062 kB / 0.9544 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.01013, allocations: 4 kB / 0.9544 GB, free: 7.957 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.01027, allocations: 39.91 kB / 0.9545 GB, free: 7.918 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006193/0.01089, allocations: 244.5 kB / 0.9547 GB, free: 7.648 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/0.01103, allocations: 46.56 kB / 0.9548 GB, free: 7.594 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.699e-05/0.01112, allocations: 28.97 kB / 0.9548 GB, free: 7.562 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.01115, allocations: 3.938 kB / 0.9548 GB, free: 7.559 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001751/0.01132, allocations: 79.31 kB / 0.9549 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.01132, allocations: 0 / 0.9549 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004433/0.01176, allocations: 141.9 kB / 0.955 GB, free: 7.324 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.01182, allocations: 59.39 kB / 0.9551 GB, free: 7.254 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.01195, allocations: 126 kB / 0.9552 GB, free: 7.117 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.01197, allocations: 29.7 kB / 0.9552 GB, free: 7.082 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.691e-05/0.01204, allocations: 92.12 kB / 0.9553 GB, free: 6.988 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.01207, allocations: 19.84 kB / 0.9553 GB, free: 6.969 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.367e-05/0.01213, allocations: 29.7 kB / 0.9553 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.0123, allocations: 318.8 kB / 0.9556 GB, free: 6.613 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.739e-05/0.01239, allocations: 31.91 kB / 0.9557 GB, free: 6.582 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.01251, allocations: 46.56 kB / 0.9557 GB, free: 6.527 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000188/0.0127, allocations: 78.61 kB / 0.9558 GB, free: 6.441 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.0127, allocations: 0 / 0.9558 GB, free: 6.441 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002879/0.01299, allocations: 121.5 kB / 0.9559 GB, free: 6.316 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.013, allocations: 4 kB / 0.9559 GB, free: 6.312 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.01301, allocations: 3.938 kB / 0.9559 GB, free: 6.309 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/0.01303, allocations: 4 kB / 0.9559 GB, free: 6.305 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.952e-05/0.01313, allocations: 11.98 kB / 0.9559 GB, free: 6.293 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.01314, allocations: 0 / 0.9559 GB, free: 6.293 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.277e-05/0.01321, allocations: 12.06 kB / 0.9559 GB, free: 6.281 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.01323, allocations: 4 kB / 0.956 GB, free: 6.277 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001183/0.01335, allocations: 121.3 kB / 0.9561 GB, free: 6.152 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.01337, allocations: 15.88 kB / 0.9561 GB, free: 6.137 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.339e-05/0.01341, allocations: 8.438 kB / 0.9561 GB, free: 6.129 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.01341, allocations: 4 kB / 0.9561 GB, free: 6.125 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.01342, allocations: 0 / 0.9561 GB, free: 6.125 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.01342, allocations: 3.938 kB / 0.9561 GB, free: 6.121 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005201/0.01394, allocations: 322.1 kB / 0.9564 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.01395, allocations: 8 kB / 0.9564 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.048e-05/0.014, allocations: 7.984 kB / 0.9564 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/0.014, allocations: 4 kB / 0.9564 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.01402, allocations: 0 / 0.9564 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.01402, allocations: 0 / 0.9564 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.01403, allocations: 0 / 0.9564 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004277/0.01445, allocations: 223.3 kB / 0.9566 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.656e-05/0.01447, allocations: 11.88 kB / 0.9566 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.01449, allocations: 0 / 0.9566 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.847e-05/0.01458, allocations: 11.94 kB / 0.9567 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.138e-05/0.01463, allocations: 11.98 kB / 0.9567 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.01464, allocations: 0 / 0.9567 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.859e-05/0.01471, allocations: 95.27 kB / 0.9568 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.01471, allocations: 0 / 0.9568 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003112/0.01502, allocations: 39.92 kB / 0.9568 GB, free: 5.348 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: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000428/0.01545, allocations: 159.5 kB / 0.957 GB, free: 5.195 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002623/0.01571, allocations: 72.12 kB / 0.957 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01572, allocations: 0 / 0.957 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.01583, allocations: 39.91 kB / 0.9571 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.01609, allocations: 9.656 kB / 0.9571 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004515/0.01654, allocations: 173.5 kB / 0.9572 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.619e-05/0.01662, allocations: 75.47 kB / 0.9573 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.052e-05/0.01666, allocations: 11.92 kB / 0.9573 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.402e-05/0.01669, allocations: 8.5 kB / 0.9573 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of SimCode: time 4.21e-07/0.01669, allocations: 4 kB / 0.9573 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of Templates: time 0.005306/0.022, allocations: 1.479 MB / 0.9588 GB, free: 3.305 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.097939282655716]