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.0009637/0.0009637, allocations: 81.86 kB / 20.68 MB, free: 3.816 MB / 18.57 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.001844/0.001844, allocations: 181 kB / 24.09 MB, free: 416 kB / 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 0.9286/0.9286, allocations: 177.1 MB / 204.5 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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 1.759/1.759, allocations: 359 MB / 0.6055 GB, free: 10.86 MB / 0.573 GB " [Timeout remaining time 178] 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.243e-06/1.243e-06, allocations: 0 / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.384e-05/1.508e-05, allocations: 13.5 kB / 0.7875 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.001689/0.001704, allocations: 1.547 MB / 0.7891 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009642/0.002668, allocations: 0.7817 MB / 0.7898 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.354e-05/0.002722, allocations: 3.938 kB / 0.7898 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.544e-05/0.002747, allocations: 7.938 kB / 0.7898 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.715e-05/0.002794, allocations: 16.33 kB / 0.7898 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004377/0.003232, allocations: 140.4 kB / 0.79 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.143e-05/0.003323, allocations: 84.38 kB / 0.7901 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 6.684e-05/0.00339, allocations: 8.188 kB / 0.7901 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.003497, allocations: 52.84 kB / 0.7901 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.242e-05/0.003539, allocations: 31.89 kB / 0.7902 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.003554, allocations: 4.656 kB / 0.7902 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001848/0.003739, allocations: 143.6 kB / 0.7903 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.044e-05/0.003759, allocations: 23.45 kB / 0.7903 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.573e-05/0.003785, allocations: 19.97 kB / 0.7903 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.003959, allocations: 147.6 kB / 0.7905 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.252e-06/0.00396, allocations: 0 / 0.7905 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.41e-07/0.003961, allocations: 0 / 0.7905 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.136e-06/0.003964, allocations: 0 / 0.7905 GB, free: 9.211 MB / 0.7448 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.0004006/0.004364, allocations: 457.8 kB / 0.7909 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.004397, allocations: 8.031 kB / 0.7909 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000173/0.00457, allocations: 29.53 kB / 0.7909 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.004692, allocations: 141.6 kB / 0.7911 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.004707, allocations: 4.375 kB / 0.7911 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.004717, allocations: 8.375 kB / 0.7911 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.686e-05/0.004813, allocations: 63.83 kB / 0.7912 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.00482, allocations: 4.188 kB / 0.7912 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.004831, allocations: 8.125 kB / 0.7912 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.004836, allocations: 1.031 kB / 0.7912 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.344e-05/0.004859, allocations: 11.98 kB / 0.7912 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003006/0.00516, allocations: 285.7 kB / 0.7915 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.596e-05/0.005206, allocations: 35.05 kB / 0.7915 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.977e-05/0.005226, allocations: 17.28 kB / 0.7915 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.005242, allocations: 0 / 0.7915 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.956e-05/0.005312, allocations: 77.08 kB / 0.7916 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 9.91e-07/0.005313, allocations: 0.7812 kB / 0.7916 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001674/0.00548, allocations: 101.5 kB / 0.7917 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.005511, allocations: 57.22 kB / 0.7917 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.414e-05/0.005585, allocations: 181.9 kB / 0.7919 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.005598, allocations: 29.7 kB / 0.7919 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.611e-05/0.005644, allocations: 138.8 kB / 0.7921 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.572e-05/0.00566, allocations: 15.89 kB / 0.7921 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.418e-05/0.005694, allocations: 39.97 kB / 0.7921 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.005794, allocations: 0.4884 MB / 0.7926 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.881e-05/0.005813, allocations: 12.61 kB / 0.7926 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.893e-05/0.005842, allocations: 39.05 kB / 0.7926 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.187e-05/0.005894, allocations: 56.66 kB / 0.7927 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.005896, allocations: 4 kB / 0.7927 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.455e-05/0.005981, allocations: 82.05 kB / 0.7928 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.005991, allocations: 9.219 kB / 0.7928 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-06/0.005994, allocations: 0 / 0.7928 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.006004, allocations: 0 / 0.7928 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.651e-05/0.006061, allocations: 20.95 kB / 0.7928 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-06/0.006063, allocations: 0 / 0.7928 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.883e-05/0.006092, allocations: 7.953 kB / 0.7928 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.006103, allocations: 12.98 kB / 0.7928 GB, free: 6.59 MB / 0.7448 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 6.463e-05/0.006167, allocations: 161.2 kB / 0.793 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.153e-05/0.006179, allocations: 11.89 kB / 0.793 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.982e-05/0.006199, allocations: 9.469 kB / 0.793 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.006202, allocations: 4 kB / 0.793 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.006204, allocations: 0 / 0.793 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.006208, allocations: 5.109 kB / 0.793 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.006415, allocations: 325.9 kB / 0.7933 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.006416, allocations: 0 / 0.7933 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.989e-05/0.006436, allocations: 4.844 kB / 0.7933 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.006438, allocations: 0 / 0.7933 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-06/0.006445, allocations: 10.2 kB / 0.7933 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.006445, allocations: 0 / 0.7933 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.006446, allocations: 0 / 0.7933 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001171/0.006563, allocations: 243.7 kB / 0.7936 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.843e-06/0.00657, allocations: 7.953 kB / 0.7936 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.879e-06/0.00658, allocations: 7.922 kB / 0.7936 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.86e-05/0.006618, allocations: 6.812 kB / 0.7936 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.375e-05/0.006642, allocations: 3.984 kB / 0.7936 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.006648, allocations: 4 kB / 0.7936 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.666e-05/0.006685, allocations: 135.2 kB / 0.7937 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006685, allocations: 0 / 0.7937 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001773/0.006862, allocations: 35.94 kB / 0.7938 GB, free: 5.582 MB / 0.7448 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.0002424/0.007104, allocations: 181.3 kB / 0.7939 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.684e-05/0.007191, allocations: 52.75 kB / 0.794 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.007193, allocations: 4 kB / 0.794 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.685e-05/0.00723, allocations: 24.23 kB / 0.794 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/0.007396, allocations: 12.58 kB / 0.794 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000406/0.007802, allocations: 195.2 kB / 0.7942 GB, free: 5.098 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.999e-05/0.007832, allocations: 59.34 kB / 0.7943 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.349e-05/0.007855, allocations: 4.656 kB / 0.7943 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.538e-05/0.007901, allocations: 75.42 kB / 0.7943 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of SimCode: time 4.91e-07/0.007901, allocations: 0 / 0.7943 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of Templates: time 0.002919/0.01082, allocations: 1.675 MB / 0.796 GB, free: 3.289 MB / 0.7448 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.925261735916138]