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.001407/0.001407, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.004323/0.004323, allocations: 161 kB / 23.82 MB, free: 0.7539 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.063/1.063, allocations: 177.1 MB / 204.2 MB, free: 5.445 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.81/1.81, 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.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.693e-06/1.693e-06, allocations: 3.938 kB / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.324e-05/2.494e-05, allocations: 3.062 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002223/0.002248, allocations: 1.555 MB / 0.7886 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.003406, allocations: 0.7889 MB / 0.7894 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.625e-05/0.003472, allocations: 4.562 kB / 0.7894 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.501e-05/0.003507, allocations: 3.938 kB / 0.7894 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.675e-05/0.003564, allocations: 13.11 kB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006592/0.004223, allocations: 153 kB / 0.7895 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.004375, allocations: 79.75 kB / 0.7896 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.768e-05/0.004463, allocations: 8.188 kB / 0.7896 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.004605, allocations: 51.88 kB / 0.7897 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.327e-05/0.004658, allocations: 29.12 kB / 0.7897 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.004678, allocations: 4 kB / 0.7897 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002414/0.004919, allocations: 151.6 kB / 0.7898 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.242e-05/0.004942, allocations: 16.66 kB / 0.7899 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.955e-05/0.004981, allocations: 23.92 kB / 0.7899 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002225/0.005204, allocations: 148.5 kB / 0.79 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.005207, allocations: 0 / 0.79 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.433e-06/0.005208, allocations: 0 / 0.79 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.005213, allocations: 0.6562 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.0005273/0.00574, allocations: 447.5 kB / 0.7905 GB, free: 9 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.005776, allocations: 8.031 kB / 0.7905 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002123/0.005988, allocations: 33.89 kB / 0.7905 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.006155, allocations: 128.5 kB / 0.7906 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.00618, allocations: 12.36 kB / 0.7906 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.006196, allocations: 7.594 kB / 0.7906 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.006337, allocations: 78.8 kB / 0.7907 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.006348, allocations: 192 / 0.7907 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.006362, allocations: 8.109 kB / 0.7907 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.056e-06/0.00637, allocations: 0 / 0.7907 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.751e-05/0.006407, allocations: 8 kB / 0.7907 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004028/0.00681, allocations: 304.4 kB / 0.791 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.134e-05/0.006881, allocations: 43 kB / 0.7911 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.368e-05/0.006915, allocations: 17.33 kB / 0.7911 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.006937, allocations: 7.938 kB / 0.7911 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.272e-05/0.00702, allocations: 65.17 kB / 0.7911 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 2.094e-06/0.007022, allocations: 1.625 kB / 0.7911 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002372/0.007259, allocations: 109.8 kB / 0.7912 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.007365, allocations: 55.41 kB / 0.7913 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.005e-05/0.007455, allocations: 184.8 kB / 0.7915 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.007468, allocations: 25.7 kB / 0.7915 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.956e-05/0.007518, allocations: 140.2 kB / 0.7916 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.007536, allocations: 15.89 kB / 0.7917 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.007576, allocations: 35.38 kB / 0.7917 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.007693, allocations: 0.49 MB / 0.7922 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.925e-05/0.007722, allocations: 11.98 kB / 0.7922 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.247e-05/0.007764, allocations: 43.05 kB / 0.7922 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.093e-05/0.007835, allocations: 55.97 kB / 0.7923 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.007838, allocations: 4 kB / 0.7923 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000123/0.007961, allocations: 98.02 kB / 0.7924 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.007973, allocations: 4.531 kB / 0.7924 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.007978, allocations: 1.156 kB / 0.7924 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.007997, allocations: 4 kB / 0.7924 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.926e-05/0.008076, allocations: 11.98 kB / 0.7924 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.008083, allocations: 8.469 kB / 0.7924 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.084e-05/0.008114, allocations: 8.484 kB / 0.7924 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.008125, allocations: 7.984 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.838e-05/0.008204, allocations: 169.8 kB / 0.7926 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.611e-05/0.00822, allocations: 11.89 kB / 0.7926 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.829e-05/0.008248, allocations: 13.59 kB / 0.7926 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.00825, allocations: 0 / 0.7926 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.008254, allocations: 0 / 0.7926 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.008259, allocations: 4.922 kB / 0.7926 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002655/0.008524, allocations: 353.3 kB / 0.7929 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.008526, allocations: 0 / 0.7929 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.3e-05/0.008549, allocations: 4.797 kB / 0.7929 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.008551, allocations: 4 kB / 0.7929 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.008559, allocations: 0.9375 kB / 0.7929 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.008561, allocations: 0 / 0.7929 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/0.008568, allocations: 0 / 0.7929 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001554/0.008723, allocations: 249.1 kB / 0.7932 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.564e-06/0.008731, allocations: 3.953 kB / 0.7932 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.008743, allocations: 4 kB / 0.7932 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.152e-05/0.008784, allocations: 4.906 kB / 0.7932 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.008825, allocations: 11.92 kB / 0.7932 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.008832, allocations: 2.312 kB / 0.7932 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.614e-05/0.008878, allocations: 139.2 kB / 0.7933 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.008878, allocations: 0 / 0.7933 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002218/0.0091, allocations: 39.92 kB / 0.7934 GB, free: 5.758 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.0003115/0.009411, allocations: 173.2 kB / 0.7935 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001391/0.009551, allocations: 55.58 kB / 0.7936 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.009552, allocations: 0 / 0.7936 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.081e-05/0.009593, allocations: 23.69 kB / 0.7936 GB, free: 5.512 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002038/0.009797, allocations: 26.2 kB / 0.7936 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005791/0.01038, allocations: 192.3 kB / 0.7938 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.646e-05/0.01041, allocations: 59.91 kB / 0.7939 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.737e-05/0.01044, allocations: 5.406 kB / 0.7939 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.996e-05/0.01047, allocations: 12.5 kB / 0.7939 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of SimCode: time 7.22e-07/0.01047, allocations: 0 / 0.7939 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of Templates: time 0.003648/0.01412, allocations: 1.513 MB / 0.7954 GB, free: 3.691 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: 5.386926547624171]