Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.001024/0.001024, 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.001035/0.001035, 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 1.026/1.026, allocations: 177.1 MB / 204.2 MB, free: 5.625 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.955/1.955, allocations: 359 MB / 0.6052 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 177] 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.Zhang2012WindowsNorth,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.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,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.Zhang2012WindowsNorth") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.587e-05/2.772e-05, allocations: 3.969 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002886/0.002913, allocations: 1.561 MB / 0.7886 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.004259, allocations: 0.7885 MB / 0.7894 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.779e-05/0.004317, allocations: 1.406 kB / 0.7894 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.739e-05/0.004354, allocations: 3.938 kB / 0.7894 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.838e-05/0.004413, allocations: 15.86 kB / 0.7894 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005531/0.004966, allocations: 144.2 kB / 0.7895 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000105/0.005071, allocations: 79.75 kB / 0.7896 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.265e-05/0.005153, allocations: 8.75 kB / 0.7896 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.005289, allocations: 56.56 kB / 0.7897 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.872e-05/0.005338, allocations: 23.91 kB / 0.7897 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.005356, allocations: 8.906 kB / 0.7897 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002061/0.005562, allocations: 143.6 kB / 0.7898 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.846e-05/0.00559, allocations: 20.61 kB / 0.7899 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.912e-05/0.005629, allocations: 19.92 kB / 0.7899 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.005857, allocations: 152.8 kB / 0.79 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.005861, allocations: 0 / 0.79 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.764e-06/0.005862, allocations: 0 / 0.79 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.005868, allocations: 1.594 kB / 0.79 GB, free: 9.496 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.0004968/0.006364, allocations: 441.9 kB / 0.7904 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.0064, allocations: 12.03 kB / 0.7905 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002006/0.006601, allocations: 37.58 kB / 0.7905 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.006754, allocations: 141.4 kB / 0.7906 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.006774, allocations: 4.375 kB / 0.7906 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.006791, allocations: 8.375 kB / 0.7906 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.006927, allocations: 66.91 kB / 0.7907 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.006937, allocations: 192 / 0.7907 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.00695, allocations: 12.12 kB / 0.7907 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.006957, allocations: 0 / 0.7907 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.671e-05/0.006994, allocations: 11.98 kB / 0.7907 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003873/0.007381, allocations: 306 kB / 0.791 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.475e-05/0.007446, allocations: 35.05 kB / 0.7911 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.606e-05/0.007482, allocations: 23.8 kB / 0.7911 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.007502, allocations: 3.938 kB / 0.7911 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.476e-05/0.007577, allocations: 66.2 kB / 0.7911 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.007578, allocations: 0 / 0.7911 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.000225/0.007803, allocations: 109.8 kB / 0.7912 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.007842, allocations: 56.19 kB / 0.7913 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.764e-05/0.007939, allocations: 180.9 kB / 0.7915 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.007952, allocations: 34.3 kB / 0.7915 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.535e-05/0.008008, allocations: 134.8 kB / 0.7916 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-05/0.008025, allocations: 21.23 kB / 0.7917 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.959e-05/0.008065, allocations: 27.38 kB / 0.7917 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.008182, allocations: 0.4923 MB / 0.7922 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.794e-05/0.00821, allocations: 16.58 kB / 0.7922 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.23e-05/0.008252, allocations: 42.98 kB / 0.7922 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.959e-05/0.008322, allocations: 52.47 kB / 0.7923 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.008324, allocations: 0 / 0.7923 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001168/0.008441, allocations: 95.34 kB / 0.7924 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.008454, allocations: 8 kB / 0.7924 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.008459, allocations: 3.938 kB / 0.7924 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.008474, allocations: 0 / 0.7924 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.506e-05/0.008549, allocations: 20.58 kB / 0.7924 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.008554, allocations: 1.406 kB / 0.7924 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.305e-05/0.008587, allocations: 11.95 kB / 0.7924 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.008599, allocations: 7.984 kB / 0.7924 GB, free: 6.832 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.312e-05/0.008672, allocations: 169.7 kB / 0.7926 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.329e-05/0.008686, allocations: 11.89 kB / 0.7926 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.588e-05/0.008711, allocations: 8.438 kB / 0.7926 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.008716, allocations: 8.531 kB / 0.7926 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.00872, allocations: 0.5312 kB / 0.7926 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.008723, allocations: 0.875 kB / 0.7926 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002649/0.008988, allocations: 349.3 kB / 0.7929 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.00899, allocations: 0 / 0.7929 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.986e-05/0.00901, allocations: 8.797 kB / 0.7929 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.009011, allocations: 0 / 0.7929 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.009021, allocations: 4.531 kB / 0.7929 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.009022, allocations: 1.375 kB / 0.793 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.009023, allocations: 0 / 0.793 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.009168, allocations: 247.7 kB / 0.7932 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.216e-06/0.009176, allocations: 11.94 kB / 0.7932 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.009189, allocations: 0.8125 kB / 0.7932 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.104e-05/0.00923, allocations: 4 kB / 0.7932 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/0.009268, allocations: 8.922 kB / 0.7932 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.009275, allocations: 0 / 0.7932 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.277e-05/0.009327, allocations: 135.2 kB / 0.7933 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.009328, allocations: 1.219 kB / 0.7933 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002007/0.009528, allocations: 43.92 kB / 0.7934 GB, free: 5.777 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.0003102/0.009838, allocations: 175.7 kB / 0.7936 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000121/0.009959, allocations: 47.59 kB / 0.7936 GB, free: 5.562 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.009962, allocations: 4 kB / 0.7936 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.012e-05/0.01, allocations: 23.67 kB / 0.7936 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001926/0.01019, allocations: 33.5 kB / 0.7937 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005626/0.01076, allocations: 182.7 kB / 0.7938 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.902e-05/0.0108, allocations: 59.34 kB / 0.7939 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.757e-05/0.01082, allocations: 4.938 kB / 0.7939 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.954e-05/0.01085, allocations: 12.5 kB / 0.7939 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of SimCode: time 7.81e-07/0.01085, allocations: 0.5 kB / 0.7939 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of Templates: time 0.003299/0.01415, allocations: 1.529 MB / 0.7954 GB, free: 3.699 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.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.362391027156264]