Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.001397/0.001397, allocations: 83.59 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.001647/0.001647, allocations: 169 kB / 23.82 MB, free: 0.7461 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 1.07/1.07, allocations: 177.1 MB / 204.2 MB, free: 5.617 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.879/1.879, allocations: 359 MB / 0.6052 GB, free: 10.97 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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.045e-05/2.184e-05, allocations: 8.422 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.001846/0.001868, allocations: 1.56 MB / 0.7886 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001089/0.002957, allocations: 0.7844 MB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.639e-05/0.003013, allocations: 0.7188 kB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.137e-05/0.003045, allocations: 3.938 kB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.672e-05/0.003101, allocations: 16.55 kB / 0.7894 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005501/0.003651, allocations: 140.5 kB / 0.7895 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.003757, allocations: 87.62 kB / 0.7896 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.314e-05/0.00384, allocations: 9.344 kB / 0.7896 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.003972, allocations: 55.94 kB / 0.7897 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.812e-05/0.004021, allocations: 28.45 kB / 0.7897 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.004038, allocations: 8 kB / 0.7897 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002228/0.004261, allocations: 146.4 kB / 0.7899 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.36e-05/0.004285, allocations: 19.91 kB / 0.7899 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.69e-05/0.004321, allocations: 19.97 kB / 0.7899 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.004551, allocations: 151.5 kB / 0.79 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.004553, allocations: 0 / 0.79 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.81e-07/0.004554, allocations: 0 / 0.79 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.004559, allocations: 0 / 0.79 GB, free: 9.453 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.0005179/0.005077, allocations: 455.3 kB / 0.7905 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.005114, allocations: 12.03 kB / 0.7905 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001988/0.005313, allocations: 29.47 kB / 0.7905 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.005454, allocations: 137.3 kB / 0.7906 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.005474, allocations: 4.375 kB / 0.7906 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.005491, allocations: 9.156 kB / 0.7907 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.005627, allocations: 70.86 kB / 0.7907 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.005636, allocations: 4.875 kB / 0.7907 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.005648, allocations: 8.125 kB / 0.7907 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.005655, allocations: 0.6875 kB / 0.7907 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.559e-05/0.00569, allocations: 11.98 kB / 0.7907 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003669/0.006057, allocations: 300.7 kB / 0.791 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.295e-05/0.00612, allocations: 40.36 kB / 0.7911 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.948e-05/0.00615, allocations: 19.81 kB / 0.7911 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.006168, allocations: 3.938 kB / 0.7911 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.526e-05/0.006243, allocations: 70.84 kB / 0.7912 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.006245, allocations: 0 / 0.7912 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002065/0.006451, allocations: 101.9 kB / 0.7913 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.006482, allocations: 59.34 kB / 0.7913 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.083e-05/0.006562, allocations: 180.8 kB / 0.7915 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.006581, allocations: 33.7 kB / 0.7915 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.718e-05/0.006628, allocations: 138.8 kB / 0.7916 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.482e-05/0.006643, allocations: 15.91 kB / 0.7917 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.845e-05/0.006681, allocations: 31.89 kB / 0.7917 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002178/0.006899, allocations: 0.4923 MB / 0.7922 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.922e-05/0.006928, allocations: 17.84 kB / 0.7922 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.182e-05/0.00697, allocations: 46.73 kB / 0.7922 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.856e-05/0.007039, allocations: 66.67 kB / 0.7923 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.007041, allocations: 2.531 kB / 0.7923 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001182/0.007159, allocations: 93.5 kB / 0.7924 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.007171, allocations: 8 kB / 0.7924 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.007176, allocations: 80 / 0.7924 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.00719, allocations: 4.031 kB / 0.7924 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.972e-05/0.007259, allocations: 19.92 kB / 0.7924 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.007264, allocations: 4.516 kB / 0.7924 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.211e-05/0.007297, allocations: 8.672 kB / 0.7924 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.007306, allocations: 4 kB / 0.7924 GB, free: 6.758 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,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.471e-05/0.007381, allocations: 170.7 kB / 0.7926 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.617e-05/0.007397, allocations: 15.89 kB / 0.7926 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.217e-05/0.007419, allocations: 8.438 kB / 0.7926 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.007421, allocations: 3.938 kB / 0.7926 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.007425, allocations: 0.625 kB / 0.7926 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.007429, allocations: 0 / 0.7926 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002575/0.007686, allocations: 354.5 kB / 0.793 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.007687, allocations: 0 / 0.793 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.145e-05/0.007709, allocations: 12.05 kB / 0.793 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.007711, allocations: 0.5625 kB / 0.793 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.007717, allocations: 0.9062 kB / 0.793 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.007718, allocations: 0 / 0.793 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.00772, allocations: 3.938 kB / 0.793 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001386/0.007859, allocations: 244.6 kB / 0.7932 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.426e-06/0.007867, allocations: 7.953 kB / 0.7932 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.007878, allocations: 5.656 kB / 0.7932 GB, free: 5.887 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.983e-05/0.007918, allocations: 7.938 kB / 0.7932 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.784e-05/0.007946, allocations: 3.984 kB / 0.7932 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.007952, allocations: 4 kB / 0.7932 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.337e-05/0.007996, allocations: 142.4 kB / 0.7934 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007996, allocations: 0 / 0.7934 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002005/0.008196, allocations: 39.92 kB / 0.7934 GB, free: 5.695 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,occ.y,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.0002563/0.008453, allocations: 166.2 kB / 0.7936 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000122/0.008575, allocations: 59.58 kB / 0.7936 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.008576, allocations: 0 / 0.7936 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.813e-05/0.008614, allocations: 27.61 kB / 0.7937 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.008788, allocations: 21.66 kB / 0.7937 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004792/0.009267, allocations: 180.5 kB / 0.7939 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.378e-05/0.009301, allocations: 65.19 kB / 0.7939 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.338e-05/0.009324, allocations: 8.391 kB / 0.7939 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.497e-05/0.009349, allocations: 12.48 kB / 0.7939 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of SimCode: time 6.41e-07/0.00935, allocations: 4.969 kB / 0.7939 GB, free: 5.117 MB / 0.7448 GB Notification: Performance of Templates: time 0.002921/0.01227, allocations: 1.517 MB / 0.7954 GB, free: 3.625 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.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.2896627970039845]