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.00143/0.00143, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001689/0.001689, allocations: 169 kB / 24.28 MB, free: 284 kB / 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.9822/0.9822, allocations: 177.1 MB / 204.6 MB, free: 5.66 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.8/1.8, allocations: 359 MB / 0.6055 GB, free: 11.02 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.523e-06/1.523e-06, allocations: 0 / 0.7871 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.468e-05/2.62e-05, allocations: 10.16 kB / 0.7871 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002218/0.002244, allocations: 1.552 MB / 0.7886 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.003464, allocations: 0.789 MB / 0.7894 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.333e-05/0.003528, allocations: 5.094 kB / 0.7894 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.078e-05/0.003558, allocations: 7.922 kB / 0.7894 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.725e-05/0.003616, allocations: 7.875 kB / 0.7894 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000547/0.004163, allocations: 148.6 kB / 0.7895 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.749e-05/0.00426, allocations: 71.78 kB / 0.7896 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.215e-05/0.004342, allocations: 17.06 kB / 0.7896 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.00447, allocations: 43.91 kB / 0.7897 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.903e-05/0.004519, allocations: 40.53 kB / 0.7897 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.004536, allocations: 4 kB / 0.7897 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000188/0.004724, allocations: 144.6 kB / 0.7898 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.908e-05/0.004743, allocations: 15.97 kB / 0.7899 GB, free: 10 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.594e-05/0.004779, allocations: 25.52 kB / 0.7899 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.004977, allocations: 147.5 kB / 0.79 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.004979, allocations: 4 kB / 0.79 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.81e-07/0.00498, allocations: 0 / 0.79 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.004984, allocations: 0 / 0.79 GB, free: 9.832 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.000483/0.005467, allocations: 449.4 kB / 0.7905 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.0055, allocations: 8.031 kB / 0.7905 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001941/0.005694, allocations: 32.88 kB / 0.7905 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.005834, allocations: 140.4 kB / 0.7906 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.005853, allocations: 4.375 kB / 0.7906 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.005865, allocations: 8.312 kB / 0.7906 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.005987, allocations: 71.58 kB / 0.7907 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.005993, allocations: 192 / 0.7907 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.006004, allocations: 5.781 kB / 0.7907 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.00601, allocations: 0 / 0.7907 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.393e-05/0.006044, allocations: 15.98 kB / 0.7907 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003759/0.00642, allocations: 304.7 kB / 0.791 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.647e-05/0.006496, allocations: 43.05 kB / 0.7911 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.615e-05/0.006532, allocations: 12.69 kB / 0.7911 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.006552, allocations: 7.938 kB / 0.7911 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.262e-05/0.006634, allocations: 70.06 kB / 0.7911 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.006636, allocations: 0 / 0.7911 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002111/0.006847, allocations: 106.9 kB / 0.7912 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.006881, allocations: 55.39 kB / 0.7913 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.584e-05/0.006967, allocations: 181.9 kB / 0.7915 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.00698, allocations: 27.05 kB / 0.7915 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.308e-05/0.007033, allocations: 146.8 kB / 0.7916 GB, free: 8 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/0.00705, allocations: 7.906 kB / 0.7916 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.77e-05/0.007088, allocations: 39.36 kB / 0.7917 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.007194, allocations: 496.7 kB / 0.7922 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.569e-05/0.00722, allocations: 12.64 kB / 0.7922 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.918e-05/0.007259, allocations: 43.05 kB / 0.7922 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.366e-05/0.007323, allocations: 60.33 kB / 0.7923 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.007325, allocations: 4 kB / 0.7923 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001024/0.007428, allocations: 90.3 kB / 0.7924 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.007439, allocations: 5.812 kB / 0.7924 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.007444, allocations: 3.984 kB / 0.7924 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.007455, allocations: 4 kB / 0.7924 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.476e-05/0.00752, allocations: 15.88 kB / 0.7924 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.007525, allocations: 0.625 kB / 0.7924 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.119e-05/0.007556, allocations: 11.94 kB / 0.7924 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.007566, allocations: 4.688 kB / 0.7924 GB, free: 7.172 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 6.706e-05/0.007633, allocations: 165 kB / 0.7926 GB, free: 7 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.507e-05/0.007649, allocations: 17.08 kB / 0.7926 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.903e-05/0.007668, allocations: 12.42 kB / 0.7926 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.00767, allocations: 3.984 kB / 0.7926 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.007673, allocations: 0.5312 kB / 0.7926 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.007676, allocations: 1.219 kB / 0.7926 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002345/0.00791, allocations: 357.3 kB / 0.7929 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.007911, allocations: 0 / 0.7929 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.567e-05/0.007927, allocations: 0.7188 kB / 0.7929 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.007929, allocations: 4 kB / 0.7929 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.007936, allocations: 1.031 kB / 0.7929 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.007937, allocations: 0 / 0.7929 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.007938, allocations: 4 kB / 0.7929 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.008068, allocations: 248.9 kB / 0.7932 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.242e-06/0.008074, allocations: 3.953 kB / 0.7932 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.008087, allocations: 8 kB / 0.7932 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.005e-05/0.008127, allocations: 4.828 kB / 0.7932 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.139e-05/0.008158, allocations: 4 kB / 0.7932 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.932e-06/0.008164, allocations: 6.203 kB / 0.7932 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.357e-05/0.008208, allocations: 137.1 kB / 0.7933 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008208, allocations: 0 / 0.7933 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001925/0.0084, allocations: 39.92 kB / 0.7934 GB, free: 6.117 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.0002705/0.008671, allocations: 175.8 kB / 0.7935 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001119/0.008783, allocations: 59.56 kB / 0.7936 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.008784, allocations: 0 / 0.7936 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.794e-05/0.008822, allocations: 23.67 kB / 0.7936 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001772/0.008999, allocations: 17.5 kB / 0.7936 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005015/0.0095, allocations: 187.8 kB / 0.7938 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.206e-05/0.009532, allocations: 59.91 kB / 0.7939 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.712e-05/0.00956, allocations: 9.391 kB / 0.7939 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.627e-05/0.009586, allocations: 12.5 kB / 0.7939 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of SimCode: time 5.91e-07/0.009586, allocations: 0 / 0.7939 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of Templates: time 0.003051/0.01264, allocations: 1.527 MB / 0.7954 GB, free: 4.039 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.2098582501057535]