Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.001186/0.001186, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.00138/0.00138, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 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.9991/0.9991, allocations: 177.1 MB / 204.2 MB, free: 5.621 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.789/1.789, allocations: 359 MB / 0.6052 GB, free: 11 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.Herkel2008WindowsSmall,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.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,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.Herkel2008WindowsSmall") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.865e-05/2.002e-05, allocations: 3 kB / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.001806/0.001826, allocations: 1.562 MB / 0.7886 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000998/0.002824, allocations: 0.7923 MB / 0.7894 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.638e-05/0.00288, allocations: 0.7188 kB / 0.7894 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.739e-05/0.002908, allocations: 7.922 kB / 0.7894 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.58e-05/0.002953, allocations: 13.17 kB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005052/0.003459, allocations: 139.5 kB / 0.7895 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.212e-05/0.003551, allocations: 81.08 kB / 0.7896 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.283e-05/0.003624, allocations: 8.188 kB / 0.7896 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.003743, allocations: 59.81 kB / 0.7897 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.529e-05/0.003788, allocations: 29.11 kB / 0.7897 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.003807, allocations: 8 kB / 0.7897 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001995/0.004007, allocations: 139.7 kB / 0.7898 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.041e-05/0.004027, allocations: 21.73 kB / 0.7899 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.589e-05/0.004063, allocations: 27.84 kB / 0.7899 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.004277, allocations: 147.6 kB / 0.79 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.004279, allocations: 0 / 0.79 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.61e-07/0.004279, allocations: 0 / 0.79 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.626e-06/0.004283, allocations: 0.7812 kB / 0.79 GB, free: 9.477 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.0004224/0.004705, allocations: 447 kB / 0.7905 GB, free: 9 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.004736, allocations: 8.031 kB / 0.7905 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001883/0.004924, allocations: 42.3 kB / 0.7905 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.00506, allocations: 132.5 kB / 0.7906 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.612e-05/0.005086, allocations: 384 / 0.7906 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.005102, allocations: 9.953 kB / 0.7906 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.00522, allocations: 70.92 kB / 0.7907 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.005227, allocations: 192 / 0.7907 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.005238, allocations: 8.125 kB / 0.7907 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.005245, allocations: 5.656 kB / 0.7907 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.488e-05/0.00528, allocations: 11.94 kB / 0.7907 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003402/0.00562, allocations: 299.7 kB / 0.791 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.788e-05/0.005678, allocations: 37.66 kB / 0.7911 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.187e-05/0.00571, allocations: 23.8 kB / 0.7911 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.005729, allocations: 3.938 kB / 0.7911 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.547e-05/0.005804, allocations: 73.05 kB / 0.7912 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.005805, allocations: 0 / 0.7912 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002004/0.006005, allocations: 106.5 kB / 0.7913 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.00604, allocations: 55.34 kB / 0.7913 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.398e-05/0.006134, allocations: 185.2 kB / 0.7915 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.006148, allocations: 37.64 kB / 0.7915 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.449e-05/0.006192, allocations: 134.8 kB / 0.7916 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/0.006211, allocations: 19.89 kB / 0.7917 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.273e-05/0.006263, allocations: 31.36 kB / 0.7917 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.006402, allocations: 0.4901 MB / 0.7922 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.644e-05/0.006429, allocations: 11.98 kB / 0.7922 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.945e-05/0.006468, allocations: 39.05 kB / 0.7922 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.721e-05/0.006535, allocations: 59.52 kB / 0.7923 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.006539, allocations: 4.984 kB / 0.7923 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001101/0.006649, allocations: 89.52 kB / 0.7924 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.006661, allocations: 6.062 kB / 0.7924 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.006666, allocations: 4 kB / 0.7924 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.006679, allocations: 0 / 0.7924 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.084e-05/0.00675, allocations: 15.98 kB / 0.7924 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.006754, allocations: 0 / 0.7924 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.068e-05/0.006784, allocations: 12.48 kB / 0.7924 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.006797, allocations: 8.516 kB / 0.7924 GB, free: 6.812 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 7.176e-05/0.006869, allocations: 169.2 kB / 0.7926 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.352e-05/0.006883, allocations: 12.42 kB / 0.7926 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.267e-05/0.006905, allocations: 8.438 kB / 0.7926 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.006907, allocations: 1.5 kB / 0.7926 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.006911, allocations: 4 kB / 0.7926 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.006915, allocations: 3.984 kB / 0.7926 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002512/0.007166, allocations: 341.4 kB / 0.7929 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.007168, allocations: 0.5312 kB / 0.7929 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.059e-05/0.007188, allocations: 17.2 kB / 0.7929 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.00719, allocations: 0 / 0.7929 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.007198, allocations: 0 / 0.7929 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.007199, allocations: 0 / 0.7929 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.007202, allocations: 9.156 kB / 0.793 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004335/0.007636, allocations: 243.8 kB / 0.7932 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.276e-06/0.007644, allocations: 7.953 kB / 0.7932 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.007655, allocations: 1.375 kB / 0.7932 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.006e-05/0.007695, allocations: 4 kB / 0.7932 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.42e-05/0.007729, allocations: 7.969 kB / 0.7932 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.007736, allocations: 4.906 kB / 0.7932 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.335e-05/0.00778, allocations: 138.4 kB / 0.7933 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.00778, allocations: 0 / 0.7933 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000218/0.007998, allocations: 40.77 kB / 0.7934 GB, free: 5.762 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.0002705/0.008268, allocations: 175.9 kB / 0.7936 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001128/0.008381, allocations: 52.3 kB / 0.7936 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.008382, allocations: 1.781 kB / 0.7936 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.164e-05/0.008424, allocations: 35.59 kB / 0.7936 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001783/0.008602, allocations: 15.94 kB / 0.7937 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005297/0.009132, allocations: 183 kB / 0.7938 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.362e-05/0.009166, allocations: 63.34 kB / 0.7939 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.358e-05/0.009189, allocations: 4 kB / 0.7939 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.667e-05/0.009216, allocations: 16.48 kB / 0.7939 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of SimCode: time 6.62e-07/0.009217, allocations: 3.938 kB / 0.7939 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of Templates: time 0.003694/0.01291, allocations: 1.512 MB / 0.7954 GB, free: 3.695 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.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: 5.2151029272936285]