Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.0009634/0.0009634, allocations: 81.86 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.0009613/0.0009613, 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.9647/0.9647, allocations: 177.1 MB / 204.5 MB, free: 5.473 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.716/1.716, allocations: 359 MB / 0.6055 GB, free: 10.91 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.Zhang2012WindowsEast,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.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,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.Zhang2012WindowsEast") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.7875 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.775e-05/4.908e-05, allocations: 4.984 kB / 0.7875 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.001908/0.001957, allocations: 1.567 MB / 0.7891 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.003005, allocations: 0.782 MB / 0.7898 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.345e-05/0.003068, allocations: 0 / 0.7898 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.676e-05/0.003095, allocations: 3.938 kB / 0.7898 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.925e-05/0.003144, allocations: 8.562 kB / 0.7898 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000528/0.003673, allocations: 148.3 kB / 0.79 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.617e-05/0.003769, allocations: 80.38 kB / 0.7901 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.237e-05/0.003841, allocations: 12.16 kB / 0.7901 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.003973, allocations: 55.33 kB / 0.7901 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.478e-05/0.004017, allocations: 31.89 kB / 0.7902 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.004033, allocations: 8 kB / 0.7902 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000202/0.004235, allocations: 139.6 kB / 0.7903 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.994e-05/0.004255, allocations: 23.91 kB / 0.7903 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.595e-05/0.004281, allocations: 15.98 kB / 0.7903 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.004461, allocations: 151.5 kB / 0.7905 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.004463, allocations: 0 / 0.7905 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.21e-07/0.004464, allocations: 0 / 0.7905 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.004467, allocations: 0.7188 kB / 0.7905 GB, free: 9.219 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.0004247/0.004892, allocations: 455.5 kB / 0.7909 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.004927, allocations: 12.03 kB / 0.7909 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001784/0.005105, allocations: 28.88 kB / 0.791 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.005231, allocations: 133.5 kB / 0.7911 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.005249, allocations: 4.375 kB / 0.7911 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.005261, allocations: 9.25 kB / 0.7911 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.005364, allocations: 66.91 kB / 0.7912 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.005371, allocations: 1.531 kB / 0.7912 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.005381, allocations: 12.06 kB / 0.7912 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.005386, allocations: 0 / 0.7912 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.214e-05/0.005408, allocations: 11.98 kB / 0.7912 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003116/0.00572, allocations: 282 kB / 0.7915 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.58e-05/0.005766, allocations: 31.06 kB / 0.7915 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.13e-05/0.005787, allocations: 16.8 kB / 0.7915 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.005806, allocations: 7.938 kB / 0.7915 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.894e-05/0.005875, allocations: 74.56 kB / 0.7916 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.005877, allocations: 0 / 0.7916 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.000182/0.006059, allocations: 93.61 kB / 0.7917 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.006087, allocations: 51.41 kB / 0.7917 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.879e-05/0.006166, allocations: 193 kB / 0.7919 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.006178, allocations: 25.7 kB / 0.7919 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.911e-05/0.006227, allocations: 143.4 kB / 0.7921 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.006244, allocations: 16.42 kB / 0.7921 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-05/0.006282, allocations: 39.34 kB / 0.7921 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.006387, allocations: 496.9 kB / 0.7926 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.009e-05/0.006407, allocations: 11.98 kB / 0.7926 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.339e-05/0.006441, allocations: 43.84 kB / 0.7926 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.143e-05/0.006492, allocations: 47.53 kB / 0.7927 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.006494, allocations: 1.375 kB / 0.7927 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 9.541e-05/0.006589, allocations: 93.48 kB / 0.7928 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.0066, allocations: 5.281 kB / 0.7928 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.006605, allocations: 0 / 0.7928 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.006617, allocations: 4 kB / 0.7928 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.114e-05/0.006678, allocations: 11.98 kB / 0.7928 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.006681, allocations: 5.047 kB / 0.7928 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.931e-05/0.006711, allocations: 12.67 kB / 0.7928 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.006721, allocations: 7.984 kB / 0.7928 GB, free: 6.609 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.836e-05/0.006789, allocations: 165.3 kB / 0.793 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.365e-05/0.006803, allocations: 16.83 kB / 0.793 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.712e-05/0.00683, allocations: 8.438 kB / 0.793 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.006832, allocations: 1.219 kB / 0.793 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.006834, allocations: 0 / 0.793 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.006837, allocations: 0 / 0.793 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002326/0.00707, allocations: 334 kB / 0.7933 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.007071, allocations: 0.875 kB / 0.7933 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.284e-05/0.007094, allocations: 7.938 kB / 0.7933 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.007096, allocations: 2.219 kB / 0.7933 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.007103, allocations: 3.984 kB / 0.7933 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.007104, allocations: 0 / 0.7933 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.007104, allocations: 0 / 0.7933 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.00723, allocations: 239.8 kB / 0.7936 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.633e-06/0.007237, allocations: 7.953 kB / 0.7936 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.578e-06/0.007246, allocations: 3.156 kB / 0.7936 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.049e-05/0.007287, allocations: 7.984 kB / 0.7936 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.662e-05/0.007314, allocations: 4 kB / 0.7936 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.007321, allocations: 3.984 kB / 0.7936 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.913e-05/0.00736, allocations: 143.2 kB / 0.7937 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.00736, allocations: 0 / 0.7937 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001949/0.007555, allocations: 39.88 kB / 0.7938 GB, free: 5.59 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.0002816/0.007836, allocations: 176.3 kB / 0.7939 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.998e-05/0.007936, allocations: 44.22 kB / 0.794 GB, free: 5.379 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.007937, allocations: 5 kB / 0.794 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.131e-05/0.007969, allocations: 31.59 kB / 0.794 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001715/0.00814, allocations: 12.86 kB / 0.794 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004316/0.008572, allocations: 180.9 kB / 0.7942 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.406e-05/0.008606, allocations: 59.36 kB / 0.7943 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.671e-05/0.008633, allocations: 11.52 kB / 0.7943 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.726e-05/0.00868, allocations: 74.2 kB / 0.7943 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of SimCode: time 6.11e-07/0.00868, allocations: 0 / 0.7943 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of Templates: time 0.003139/0.01182, allocations: 1.688 MB / 0.796 GB, free: 3.297 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.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.9237290769815445]