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.001287/0.001287, 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.001518/0.001518, 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.9526/0.9526, allocations: 177.1 MB / 204.5 MB, free: 5.527 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.839/1.839, allocations: 359 MB / 0.6055 GB, free: 10.85 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.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 1.944e-06/1.944e-06, allocations: 0 / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.182e-05/2.377e-05, allocations: 7.156 kB / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002305/0.002329, allocations: 1.632 MB / 0.7891 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001124/0.003453, allocations: 0.8398 MB / 0.79 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.988e-05/0.003523, allocations: 0.6562 kB / 0.79 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.311e-05/0.003556, allocations: 11.86 kB / 0.79 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.576e-05/0.003622, allocations: 27.08 kB / 0.79 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006556/0.004277, allocations: 175.3 kB / 0.7902 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.004438, allocations: 143.5 kB / 0.7903 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.178e-05/0.00453, allocations: 13.53 kB / 0.7903 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/0.004706, allocations: 95.77 kB / 0.7904 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.157e-05/0.004788, allocations: 60.72 kB / 0.7905 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.004812, allocations: 12 kB / 0.7905 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002288/0.005041, allocations: 139.7 kB / 0.7906 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.401e-05/0.005065, allocations: 28.5 kB / 0.7906 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.024e-05/0.005105, allocations: 41.33 kB / 0.7907 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002259/0.005331, allocations: 199.4 kB / 0.7909 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.005333, allocations: 0 / 0.7909 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.71e-07/0.005334, allocations: 0 / 0.7909 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.005338, allocations: 1.438 kB / 0.7909 GB, free: 8.812 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000523/0.005861, allocations: 0.507 MB / 0.7914 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.005895, allocations: 8.031 kB / 0.7914 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003225/0.006218, allocations: 79.88 kB / 0.7914 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.006368, allocations: 150.9 kB / 0.7916 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.851e-05/0.006386, allocations: 4.969 kB / 0.7916 GB, free: 8 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.0064, allocations: 8.375 kB / 0.7916 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.00653, allocations: 84.89 kB / 0.7917 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.006537, allocations: 192 / 0.7917 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.006547, allocations: 8.297 kB / 0.7917 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.006554, allocations: 7.938 kB / 0.7917 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.511e-05/0.006589, allocations: 15.98 kB / 0.7917 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004233/0.007012, allocations: 317.5 kB / 0.792 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.354e-05/0.007076, allocations: 40.45 kB / 0.7921 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.299e-05/0.007109, allocations: 27.61 kB / 0.7921 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.007129, allocations: 0.625 kB / 0.7921 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.584e-05/0.007225, allocations: 88.86 kB / 0.7922 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.007226, allocations: 1.141 kB / 0.7922 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0002524/0.007479, allocations: 141.5 kB / 0.7923 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.00751, allocations: 56.16 kB / 0.7924 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002609/0.007771, allocations: 200.4 kB / 0.7925 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.007786, allocations: 30.39 kB / 0.7926 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.93e-05/0.007846, allocations: 159 kB / 0.7927 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.007872, allocations: 21.08 kB / 0.7927 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.68e-05/0.007918, allocations: 39.34 kB / 0.7928 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.008038, allocations: 0.4962 MB / 0.7933 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.783e-05/0.008066, allocations: 15.92 kB / 0.7933 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.315e-05/0.008109, allocations: 54.92 kB / 0.7933 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.121e-05/0.00819, allocations: 83.88 kB / 0.7934 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.008194, allocations: 4 kB / 0.7934 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001301/0.008324, allocations: 111.2 kB / 0.7935 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.008338, allocations: 7.984 kB / 0.7935 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.008344, allocations: 0 / 0.7935 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.008355, allocations: 6.188 kB / 0.7935 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.345e-05/0.008438, allocations: 19.98 kB / 0.7936 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.008441, allocations: 0 / 0.7936 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.455e-05/0.008486, allocations: 19.89 kB / 0.7936 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.008496, allocations: 4 kB / 0.7936 GB, free: 5.793 MB / 0.7448 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 7.799e-05/0.008574, allocations: 171.2 kB / 0.7937 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.816e-05/0.008592, allocations: 11.94 kB / 0.7938 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.703e-05/0.00862, allocations: 16.77 kB / 0.7938 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.008622, allocations: 0 / 0.7938 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.008624, allocations: 4 kB / 0.7938 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.008628, allocations: 3.984 kB / 0.7938 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002884/0.008916, allocations: 375.5 kB / 0.7941 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.008919, allocations: 3.938 kB / 0.7941 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.761e-05/0.008946, allocations: 4 kB / 0.7941 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.008948, allocations: 0 / 0.7941 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.008958, allocations: 8.484 kB / 0.7942 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.008959, allocations: 4.5 kB / 0.7942 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.00896, allocations: 0.5 kB / 0.7942 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.009132, allocations: 275.8 kB / 0.7944 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.127e-05/0.009143, allocations: 13.27 kB / 0.7944 GB, free: 4.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.009159, allocations: 4 kB / 0.7944 GB, free: 4.863 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.441e-05/0.009213, allocations: 7.938 kB / 0.7944 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-05/0.009247, allocations: 12.58 kB / 0.7945 GB, free: 4.844 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.009257, allocations: 7.984 kB / 0.7945 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.493e-05/0.009301, allocations: 140.1 kB / 0.7946 GB, free: 4.699 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.009302, allocations: 0 / 0.7946 GB, free: 4.699 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002144/0.009516, allocations: 51.88 kB / 0.7946 GB, free: 4.648 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: 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.0002906/0.009807, allocations: 180.7 kB / 0.7948 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001236/0.00993, allocations: 63.58 kB / 0.7949 GB, free: 4.418 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.009932, allocations: 0 / 0.7949 GB, free: 4.418 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.381e-05/0.009976, allocations: 36.7 kB / 0.7949 GB, free: 4.379 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001928/0.01017, allocations: 19.92 kB / 0.7949 GB, free: 4.359 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005081/0.01068, allocations: 228 kB / 0.7952 GB, free: 4.109 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.115e-05/0.01071, allocations: 59.34 kB / 0.7952 GB, free: 4.031 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.098e-05/0.01075, allocations: 15.03 kB / 0.7952 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.009e-05/0.01081, allocations: 78.2 kB / 0.7953 GB, free: 3.941 MB / 0.7448 GB Notification: Performance of SimCode: time 6.42e-07/0.01081, allocations: 1.625 kB / 0.7953 GB, free: 3.941 MB / 0.7448 GB Notification: Performance of Templates: time 0.003787/0.0146, allocations: 2.254 MB / 0.7975 GB, free: 1.715 MB / 0.7448 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) [Timeout 240] 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","",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.029432148206979]