Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 192.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.776/2.776, allocations: 472.6 MB / 0.7451 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001292, allocations: 60.34 kB / 0.912 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3498, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.00305/0.3529, allocations: 1.493 MB / 1.07 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001308/0.3543, allocations: 0.7283 MB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.468e-05/0.3543, allocations: 0 / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.607e-05/0.3544, allocations: 7.875 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.577e-05/0.3544, allocations: 15.86 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005762/0.355, allocations: 123.6 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.3552, allocations: 71.78 kB / 1.071 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.3553, allocations: 23.97 kB / 1.071 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.085e-05/0.3554, allocations: 31.91 kB / 1.071 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.345e-05/0.3555, allocations: 39.83 kB / 1.071 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.3555, allocations: 8 kB / 1.071 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001963/0.3557, allocations: 95.84 kB / 1.071 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.102e-05/0.3557, allocations: 23.91 kB / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.882e-05/0.3558, allocations: 27.86 kB / 1.071 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002462/0.356, allocations: 139.9 kB / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.3561, allocations: 3.938 kB / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.244e-06/0.3561, allocations: 0 / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.3561, allocations: 8 kB / 1.071 GB, free: 7.566 MB / 0.8262 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.0007141/0.3568, allocations: 409 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.3569, allocations: 12.03 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.236e-05/0.3569, allocations: 12.83 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.357, allocations: 168.2 kB / 1.072 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.778e-05/0.3571, allocations: 8.359 kB / 1.072 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.3571, allocations: 8.375 kB / 1.072 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.3573, allocations: 77.91 kB / 1.072 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.3573, allocations: 0 / 1.072 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.3573, allocations: 0 / 1.072 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.3573, allocations: 0 / 1.072 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.3575, allocations: 39.95 kB / 1.072 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006061/0.3581, allocations: 312.8 kB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.3582, allocations: 58.42 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.335e-05/0.3583, allocations: 36.97 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.3584, allocations: 0 / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002065/0.3586, allocations: 87.36 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.3586, allocations: 0 / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003988/0.359, allocations: 141.5 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.367e-05/0.3591, allocations: 59.41 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.3592, allocations: 129.7 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.3592, allocations: 25.7 kB / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.947e-05/0.3593, allocations: 88.14 kB / 1.073 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.3593, allocations: 19.73 kB / 1.073 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-05/0.3594, allocations: 25.72 kB / 1.073 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.3595, allocations: 330.8 kB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.817e-05/0.3596, allocations: 19.98 kB / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.326e-05/0.3597, allocations: 50.55 kB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.3598, allocations: 78.5 kB / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3599, allocations: 0 / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002313/0.3601, allocations: 109.5 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.3601, allocations: 4 kB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3601, allocations: 0 / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.3601, allocations: 4 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.946e-05/0.3602, allocations: 11.98 kB / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.3603, allocations: 0 / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.613e-05/0.3603, allocations: 16.05 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.3604, allocations: 4 kB / 1.073 GB, free: 5.02 MB / 0.8262 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 9.975e-05/0.3605, allocations: 126.2 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.733e-05/0.3605, allocations: 7.906 kB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.793e-05/0.3605, allocations: 12.31 kB / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3605, allocations: 0 / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.3605, allocations: 4 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.3605, allocations: 3.984 kB / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004443/0.361, allocations: 382.4 kB / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.361, allocations: 0 / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.117e-05/0.3611, allocations: 11.94 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3611, allocations: 0 / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.3611, allocations: 0 / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3611, allocations: 0 / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.3611, allocations: 3.938 kB / 1.074 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002675/0.3614, allocations: 215.4 kB / 1.074 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.4e-05/0.3614, allocations: 81.02 kB / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.3614, allocations: 8 kB / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.476e-05/0.3615, allocations: 3.984 kB / 1.074 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/0.3616, allocations: 7.938 kB / 1.074 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.3616, allocations: 7.984 kB / 1.074 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.521e-05/0.3616, allocations: 87.28 kB / 1.074 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3616, allocations: 0 / 1.074 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002867/0.3619, allocations: 43.98 kB / 1.074 GB, free: 3.934 MB / 0.8262 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.0003515/0.3623, allocations: 174.9 kB / 1.074 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000242/0.3625, allocations: 79.89 kB / 1.074 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3626, allocations: 4.125 kB / 1.074 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.439e-05/0.3627, allocations: 35.92 kB / 1.074 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.3629, allocations: 4.562 kB / 1.074 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004084/0.3633, allocations: 180.3 kB / 1.075 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.3636, allocations: 0.6962 MB / 1.075 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.573e-05/0.3636, allocations: 4 kB / 1.075 GB, free: 2.715 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.748e-05/0.3637, allocations: 11.44 kB / 1.075 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.3637, allocations: 0 / 1.075 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of Templates: time 0.004244/0.3679, allocations: 1.451 MB / 1.077 GB, free: 1.258 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1)