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.000985/0.000985, 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.0009911/0.0009911, allocations: 165 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.9511/0.9511, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.713/1.713, allocations: 359 MB / 0.6052 GB, free: 10.98 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.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.634e-06/1.634e-06, allocations: 0 / 0.7871 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.966e-05/2.129e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002872/0.002893, allocations: 1.567 MB / 0.7886 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001452/0.004346, allocations: 0.7931 MB / 0.7894 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.62e-05/0.004402, allocations: 4 kB / 0.7894 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.612e-05/0.004438, allocations: 3.938 kB / 0.7894 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.197e-05/0.0045, allocations: 13.2 kB / 0.7894 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006347/0.005135, allocations: 151.4 kB / 0.7895 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001345/0.005269, allocations: 72.69 kB / 0.7896 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.635e-05/0.005356, allocations: 8.172 kB / 0.7896 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.005514, allocations: 56.48 kB / 0.7897 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.695e-05/0.005581, allocations: 36.47 kB / 0.7897 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.005602, allocations: 4 kB / 0.7897 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002829/0.005885, allocations: 137.4 kB / 0.7898 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.916e-05/0.005914, allocations: 15.98 kB / 0.7899 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.731e-05/0.005961, allocations: 27.91 kB / 0.7899 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002859/0.006247, allocations: 155.4 kB / 0.79 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.00625, allocations: 1.531 kB / 0.79 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.01e-07/0.00625, allocations: 0 / 0.79 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.908e-06/0.006254, allocations: 0 / 0.79 GB, free: 9.512 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.0006159/0.00687, allocations: 451.5 kB / 0.7905 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.006912, allocations: 8.031 kB / 0.7905 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002985/0.007211, allocations: 32.81 kB / 0.7905 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.007397, allocations: 135.9 kB / 0.7906 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.007421, allocations: 8.375 kB / 0.7906 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.007436, allocations: 4.375 kB / 0.7906 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.007605, allocations: 70.92 kB / 0.7907 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.007613, allocations: 192 / 0.7907 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.007627, allocations: 4.125 kB / 0.7907 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.007638, allocations: 4 kB / 0.7907 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.602e-05/0.007694, allocations: 15.92 kB / 0.7907 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005132/0.008207, allocations: 304.3 kB / 0.791 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.146e-05/0.008298, allocations: 43.61 kB / 0.7911 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.256e-05/0.008341, allocations: 16.41 kB / 0.7911 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.008363, allocations: 9.141 kB / 0.7911 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001094/0.008472, allocations: 73.09 kB / 0.7912 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.008474, allocations: 0 / 0.7912 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002928/0.008767, allocations: 98.25 kB / 0.7912 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/0.008818, allocations: 59.39 kB / 0.7913 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.008941, allocations: 181 kB / 0.7915 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.00896, allocations: 25.7 kB / 0.7915 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.451e-05/0.009035, allocations: 142.8 kB / 0.7916 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.009056, allocations: 24.72 kB / 0.7917 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-05/0.009098, allocations: 35.36 kB / 0.7917 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.009231, allocations: 0.489 MB / 0.7922 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.55e-05/0.009256, allocations: 8 kB / 0.7922 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.229e-05/0.009299, allocations: 44.27 kB / 0.7922 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.77e-05/0.009366, allocations: 55.77 kB / 0.7923 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.009369, allocations: 3.938 kB / 0.7923 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001127/0.009481, allocations: 90.72 kB / 0.7924 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.009495, allocations: 7.938 kB / 0.7924 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.009499, allocations: 0 / 0.7924 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.009513, allocations: 6.219 kB / 0.7924 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.248e-05/0.009585, allocations: 12 kB / 0.7924 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.009593, allocations: 7.984 kB / 0.7924 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.223e-05/0.009625, allocations: 7.953 kB / 0.7924 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.009635, allocations: 400 / 0.7924 GB, free: 6.852 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.046e-05/0.009705, allocations: 167.3 kB / 0.7926 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.29e-05/0.009718, allocations: 15.89 kB / 0.7926 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.15e-05/0.009739, allocations: 12.42 kB / 0.7926 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.009742, allocations: 0 / 0.7926 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.009745, allocations: 0 / 0.7926 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.009748, allocations: 0 / 0.7926 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002544/0.01, allocations: 361.3 kB / 0.7929 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.01, allocations: 1.469 kB / 0.7929 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.043e-05/0.01002, allocations: 4 kB / 0.7929 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.01003, allocations: 3.938 kB / 0.7929 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.01003, allocations: 0.5 kB / 0.7929 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.01003, allocations: 3.984 kB / 0.793 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.01004, allocations: 0.5625 kB / 0.793 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001414/0.01018, allocations: 241.2 kB / 0.7932 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.105e-06/0.01019, allocations: 7.953 kB / 0.7932 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.0102, allocations: 0 / 0.7932 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.418e-05/0.01024, allocations: 15.98 kB / 0.7932 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-05/0.01028, allocations: 0.625 kB / 0.7932 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.405e-06/0.01029, allocations: 9.953 kB / 0.7932 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.662e-05/0.01033, allocations: 136.8 kB / 0.7933 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01033, allocations: 0 / 0.7933 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001966/0.01053, allocations: 35.94 kB / 0.7934 GB, free: 5.797 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.0003222/0.01085, allocations: 174.2 kB / 0.7935 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001482/0.011, allocations: 52.58 kB / 0.7936 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.011, allocations: 0 / 0.7936 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.839e-05/0.01105, allocations: 32.45 kB / 0.7936 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001967/0.01125, allocations: 20.94 kB / 0.7936 GB, free: 5.523 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005202/0.01177, allocations: 195.2 kB / 0.7938 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.438e-05/0.01181, allocations: 59.36 kB / 0.7939 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.584e-05/0.01184, allocations: 3.984 kB / 0.7939 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.493e-05/0.01186, allocations: 12.5 kB / 0.7939 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of SimCode: time 6.91e-07/0.01186, allocations: 0 / 0.7939 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of Templates: time 0.003796/0.01566, allocations: 1.662 MB / 0.7955 GB, free: 3.574 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.032964581623673]