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.001493/0.001493, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.002021/0.002021, allocations: 181 kB / 24.09 MB, free: 416 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.9542/0.9542, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.721/1.721, allocations: 359 MB / 0.6055 GB, free: 10.84 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.673e-06/1.673e-06, allocations: 0 / 0.7875 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.733e-05/2.9e-05, allocations: 6.859 kB / 0.7875 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002488/0.002517, allocations: 1.551 MB / 0.7891 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004255/0.006772, allocations: 0.7762 MB / 0.7898 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.148e-05/0.006833, allocations: 0.9062 kB / 0.7898 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.163e-05/0.006865, allocations: 15.86 kB / 0.7898 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.314e-05/0.006918, allocations: 12.7 kB / 0.7898 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005435/0.007462, allocations: 144 kB / 0.79 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000107/0.007569, allocations: 79.7 kB / 0.7901 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.574e-05/0.007644, allocations: 13.33 kB / 0.7901 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.007777, allocations: 43.95 kB / 0.7901 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.347e-05/0.00783, allocations: 39.88 kB / 0.7901 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.007847, allocations: 4.562 kB / 0.7902 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002316/0.008078, allocations: 144.3 kB / 0.7903 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.222e-05/0.0081, allocations: 19.92 kB / 0.7903 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.107e-05/0.008131, allocations: 20.88 kB / 0.7903 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002095/0.008341, allocations: 147.6 kB / 0.7905 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.008344, allocations: 0.6562 kB / 0.7905 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.92e-07/0.008345, allocations: 0 / 0.7905 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.008348, allocations: 3.438 kB / 0.7905 GB, free: 9.191 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.0004623/0.008811, allocations: 449.8 kB / 0.7909 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.008849, allocations: 8.031 kB / 0.7909 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002198/0.009069, allocations: 32.88 kB / 0.7909 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003281/0.01235, allocations: 139.5 kB / 0.7911 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.01237, allocations: 4.375 kB / 0.7911 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.01238, allocations: 4.969 kB / 0.7911 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.01251, allocations: 70.86 kB / 0.7912 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.01252, allocations: 4.781 kB / 0.7912 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.01253, allocations: 5.781 kB / 0.7912 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.01253, allocations: 3.984 kB / 0.7912 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.951e-05/0.01256, allocations: 11.98 kB / 0.7912 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003627/0.01292, allocations: 277.9 kB / 0.7914 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.728e-05/0.01299, allocations: 42.97 kB / 0.7915 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.024e-05/0.01301, allocations: 19.67 kB / 0.7915 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.01304, allocations: 1.594 kB / 0.7915 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.125e-05/0.01312, allocations: 69.11 kB / 0.7916 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.753e-06/0.01312, allocations: 0 / 0.7916 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001749/0.01329, allocations: 105.5 kB / 0.7917 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.01332, allocations: 56.06 kB / 0.7917 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.668e-05/0.0134, allocations: 177.9 kB / 0.7919 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.01342, allocations: 35.64 kB / 0.7919 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.892e-05/0.01347, allocations: 134.8 kB / 0.7921 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-05/0.01348, allocations: 15.89 kB / 0.7921 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.765e-05/0.01352, allocations: 35.34 kB / 0.7921 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.01363, allocations: 0.4923 MB / 0.7926 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.743e-05/0.01364, allocations: 8.609 kB / 0.7926 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.444e-05/0.01368, allocations: 47.7 kB / 0.7926 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.287e-05/0.01373, allocations: 52.2 kB / 0.7927 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-06/0.01373, allocations: 0 / 0.7927 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 9.807e-05/0.01383, allocations: 90.12 kB / 0.7928 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.01385, allocations: 8 kB / 0.7928 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.01385, allocations: 1.125 kB / 0.7928 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.01386, allocations: 0 / 0.7928 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.826e-05/0.01393, allocations: 15.98 kB / 0.7928 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.01393, allocations: 0.9062 kB / 0.7928 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.842e-05/0.01396, allocations: 7.953 kB / 0.7928 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.01397, allocations: 8.5 kB / 0.7928 GB, free: 6.578 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.01404, allocations: 165.6 kB / 0.793 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.601e-05/0.01406, allocations: 15.88 kB / 0.793 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.352e-05/0.01408, allocations: 9.219 kB / 0.793 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.01408, allocations: 4 kB / 0.793 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.01408, allocations: 1.156 kB / 0.793 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.01409, allocations: 0 / 0.793 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002379/0.01433, allocations: 329.9 kB / 0.7933 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01433, allocations: 1.031 kB / 0.7933 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.94e-05/0.01435, allocations: 4 kB / 0.7933 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.01435, allocations: 0 / 0.7933 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-06/0.01436, allocations: 4.844 kB / 0.7933 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.01436, allocations: 0 / 0.7933 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01436, allocations: 2.219 kB / 0.7933 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001357/0.01449, allocations: 239.8 kB / 0.7936 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.965e-06/0.0145, allocations: 7.953 kB / 0.7936 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.04e-05/0.01451, allocations: 4 kB / 0.7936 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.875e-05/0.01455, allocations: 4 kB / 0.7936 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.77e-05/0.01458, allocations: 7.922 kB / 0.7936 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.01458, allocations: 6.781 kB / 0.7936 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.008e-05/0.01462, allocations: 136.5 kB / 0.7937 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01462, allocations: 0 / 0.7937 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002044/0.01483, allocations: 39.92 kB / 0.7938 GB, free: 5.566 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.0002959/0.01512, allocations: 186 kB / 0.7939 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001031/0.01523, allocations: 55.5 kB / 0.794 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01523, allocations: 0.5 kB / 0.794 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.182e-05/0.01526, allocations: 24.2 kB / 0.794 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001819/0.01544, allocations: 18.05 kB / 0.794 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004434/0.01588, allocations: 184.6 kB / 0.7942 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.185e-05/0.01592, allocations: 60.47 kB / 0.7943 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.531e-05/0.01594, allocations: 7.984 kB / 0.7943 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.693e-05/0.01599, allocations: 79.3 kB / 0.7943 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of SimCode: time 1.062e-06/0.01599, allocations: 0 / 0.7943 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of Templates: time 0.003382/0.01937, allocations: 1.67 MB / 0.796 GB, free: 3.27 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: 4.8721036380156875]