Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.001016/0.001016, 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.001026/0.001026, 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.9834/0.9834, allocations: 177.1 MB / 204.2 MB, free: 5.266 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.902/1.902, allocations: 359 MB / 0.6052 GB, free: 11.03 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.Zhang2012WindowsWest,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.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,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.Zhang2012WindowsWest") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.889e-05/3.069e-05, allocations: 9.516 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002272/0.002303, allocations: 1.557 MB / 0.7886 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001114/0.003417, allocations: 0.7936 MB / 0.7894 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.45e-05/0.003481, allocations: 0 / 0.7894 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.753e-05/0.003519, allocations: 7.922 kB / 0.7894 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.499e-05/0.003574, allocations: 8.594 kB / 0.7894 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006089/0.004183, allocations: 148.4 kB / 0.7895 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.00429, allocations: 79.77 kB / 0.7896 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.018e-05/0.004381, allocations: 10.52 kB / 0.7896 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.004539, allocations: 55.83 kB / 0.7897 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.674e-05/0.004596, allocations: 35.88 kB / 0.7897 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.004616, allocations: 8 kB / 0.7897 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000222/0.004838, allocations: 139.6 kB / 0.7898 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.178e-05/0.00486, allocations: 15.98 kB / 0.7899 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.127e-05/0.004901, allocations: 29.78 kB / 0.7899 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.005126, allocations: 147.5 kB / 0.79 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.005129, allocations: 0 / 0.79 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.342e-06/0.00513, allocations: 0 / 0.79 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.005136, allocations: 0 / 0.79 GB, free: 9.488 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.0005388/0.005674, allocations: 450.4 kB / 0.7905 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.005711, allocations: 8.562 kB / 0.7905 GB, free: 9 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002154/0.005926, allocations: 34.53 kB / 0.7905 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.006096, allocations: 136.5 kB / 0.7906 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.00612, allocations: 4.969 kB / 0.7906 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.006137, allocations: 4.375 kB / 0.7906 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.006279, allocations: 71.42 kB / 0.7907 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.00629, allocations: 1.062 kB / 0.7907 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.006302, allocations: 12 kB / 0.7907 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.00631, allocations: 1.156 kB / 0.7907 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.763e-05/0.006348, allocations: 15.98 kB / 0.7907 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004298/0.006777, allocations: 297.1 kB / 0.791 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.912e-05/0.006867, allocations: 43.05 kB / 0.7911 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.728e-05/0.006904, allocations: 15.69 kB / 0.7911 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.006931, allocations: 13.61 kB / 0.7911 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001012/0.007032, allocations: 73.22 kB / 0.7912 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 2.014e-06/0.007034, allocations: 0 / 0.7912 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002656/0.007299, allocations: 97.86 kB / 0.7913 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.007336, allocations: 52.5 kB / 0.7913 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.007446, allocations: 189.1 kB / 0.7915 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.007461, allocations: 29.7 kB / 0.7915 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.332e-05/0.007514, allocations: 145.7 kB / 0.7916 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.007534, allocations: 15.91 kB / 0.7917 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/0.007577, allocations: 35.36 kB / 0.7917 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.007695, allocations: 0.4923 MB / 0.7922 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.044e-05/0.007726, allocations: 4 kB / 0.7922 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.578e-05/0.007772, allocations: 43.05 kB / 0.7922 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.685e-05/0.007848, allocations: 63.55 kB / 0.7923 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.007851, allocations: 1.938 kB / 0.7923 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001252/0.007976, allocations: 89.5 kB / 0.7924 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.007991, allocations: 4 kB / 0.7924 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.007997, allocations: 7.984 kB / 0.7924 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.008015, allocations: 2.594 kB / 0.7924 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.708e-05/0.008102, allocations: 12 kB / 0.7924 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.008108, allocations: 4 kB / 0.7924 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.586e-05/0.008144, allocations: 11.94 kB / 0.7924 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.008156, allocations: 7.938 kB / 0.7924 GB, free: 6.82 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 8.226e-05/0.008238, allocations: 169.2 kB / 0.7926 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.541e-05/0.008254, allocations: 11.89 kB / 0.7926 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.97e-05/0.008283, allocations: 13.27 kB / 0.7926 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-06/0.008286, allocations: 0 / 0.7926 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.008291, allocations: 4 kB / 0.7926 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.008295, allocations: 0.8438 kB / 0.7926 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002879/0.008583, allocations: 345.4 kB / 0.7929 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.008586, allocations: 5.281 kB / 0.7929 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.781e-05/0.008614, allocations: 11.94 kB / 0.793 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.008616, allocations: 0 / 0.793 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.008625, allocations: 0.8438 kB / 0.793 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.008627, allocations: 0 / 0.793 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.008629, allocations: 4 kB / 0.793 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001549/0.008784, allocations: 241 kB / 0.7932 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.708e-06/0.008793, allocations: 7.953 kB / 0.7932 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.008806, allocations: 0 / 0.7932 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.716e-05/0.008853, allocations: 9.359 kB / 0.7932 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.008892, allocations: 4 kB / 0.7932 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.008902, allocations: 7.984 kB / 0.7932 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.509e-05/0.008947, allocations: 132.7 kB / 0.7933 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.008947, allocations: 0 / 0.7933 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000241/0.009188, allocations: 39.92 kB / 0.7934 GB, free: 5.773 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.0003572/0.009545, allocations: 173.4 kB / 0.7935 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001455/0.009691, allocations: 52.86 kB / 0.7936 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.009693, allocations: 3.938 kB / 0.7936 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.747e-05/0.00974, allocations: 31.61 kB / 0.7936 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.009957, allocations: 17.69 kB / 0.7936 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006137/0.01057, allocations: 184 kB / 0.7938 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.84e-05/0.01061, allocations: 63.34 kB / 0.7939 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.263e-05/0.01064, allocations: 13.02 kB / 0.7939 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.284e-05/0.01067, allocations: 16.5 kB / 0.7939 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of SimCode: time 1.052e-06/0.01068, allocations: 0.6562 kB / 0.7939 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of Templates: time 0.003874/0.01455, allocations: 1.515 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.Zhang2012WindowsWest.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.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.223894197959453]