Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001974/0.001974, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002099/0.002099, allocations: 195.9 kB / 16.14 MB, free: 6.656 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.478/1.478, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.982/2.982, allocations: 472.6 MB / 0.7447 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 64.81 kB / 0.9114 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3642, allocations: 159.9 MB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.002796/0.367, allocations: 1.562 MB / 1.069 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.3684, allocations: 0.7323 MB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.677e-05/0.3684, allocations: 3.938 kB / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.716e-05/0.3685, allocations: 4 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.915e-05/0.3685, allocations: 11.86 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004889/0.369, allocations: 111.8 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.885e-05/0.3691, allocations: 63.78 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.3693, allocations: 15.98 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.636e-05/0.3693, allocations: 27.91 kB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.295e-05/0.3694, allocations: 43.83 kB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.3694, allocations: 4 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001724/0.3696, allocations: 91.84 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.451e-05/0.3696, allocations: 15.92 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.849e-05/0.3697, allocations: 31.84 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.3699, allocations: 139.9 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3699, allocations: 0 / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.32e-07/0.3699, allocations: 0 / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.37, allocations: 0 / 1.07 GB, free: 8.09 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.0007159/0.3707, allocations: 421 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.3707, allocations: 8.031 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.478e-05/0.3708, allocations: 8.844 kB / 1.071 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.3709, allocations: 176.2 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.718e-05/0.3709, allocations: 384 / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.371, allocations: 12.36 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.3712, allocations: 69.97 kB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.3712, allocations: 0 / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.3712, allocations: 0 / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.3712, allocations: 4 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.3714, allocations: 35.97 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006085/0.372, allocations: 324.6 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.3721, allocations: 46.56 kB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.523e-05/0.3722, allocations: 32.97 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.3722, allocations: 0 / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002099/0.3725, allocations: 83.38 kB / 1.071 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 2.876e-06/0.3725, allocations: 0 / 1.071 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004055/0.3729, allocations: 141.5 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.526e-05/0.3729, allocations: 63.39 kB / 1.072 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.3731, allocations: 121.8 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.3731, allocations: 25.7 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.512e-05/0.3732, allocations: 96.19 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.3732, allocations: 15.75 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.078e-05/0.3732, allocations: 29.7 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.3734, allocations: 322.8 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.32e-05/0.3735, allocations: 31.97 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.3736, allocations: 42.56 kB / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.3737, allocations: 78.78 kB / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3738, allocations: 0 / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002447/0.374, allocations: 117.5 kB / 1.072 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.374, allocations: 7.938 kB / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.374, allocations: 0 / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.3741, allocations: 4 kB / 1.073 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.3742, allocations: 15.92 kB / 1.073 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.3742, allocations: 0 / 1.073 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.913e-05/0.3743, allocations: 8 kB / 1.073 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.3743, allocations: 7.938 kB / 1.073 GB, free: 5.539 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 8.892e-05/0.3744, allocations: 121.8 kB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.057e-05/0.3744, allocations: 11.89 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.666e-05/0.3744, allocations: 8.375 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.3745, allocations: 4 kB / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3745, allocations: 0 / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3745, allocations: 0 / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004458/0.3749, allocations: 386.3 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3749, allocations: 0 / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.052e-05/0.375, allocations: 4 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.375, allocations: 0 / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.375, allocations: 7.984 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.375, allocations: 0 / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.375, allocations: 7.938 kB / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003085/0.3753, allocations: 203.4 kB / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.909e-05/0.3754, allocations: 93 kB / 1.073 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.3754, allocations: 0 / 1.073 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.18e-05/0.3755, allocations: 8 kB / 1.073 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.3756, allocations: 7.922 kB / 1.073 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.878e-06/0.3756, allocations: 4 kB / 1.073 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.997e-05/0.3756, allocations: 91.27 kB / 1.073 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3756, allocations: 0 / 1.073 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002929/0.3759, allocations: 36 kB / 1.073 GB, free: 4.465 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.0003276/0.3763, allocations: 168 kB / 1.074 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002354/0.3765, allocations: 75.88 kB / 1.074 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3765, allocations: 3.938 kB / 1.074 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.777e-05/0.3766, allocations: 32.38 kB / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.377, allocations: 18.08 kB / 1.074 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003807/0.3774, allocations: 186.1 kB / 1.074 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.3776, allocations: 0.6887 MB / 1.075 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.763e-05/0.3777, allocations: 12.14 kB / 1.075 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.3777, allocations: 15.42 kB / 1.075 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3777, allocations: 0 / 1.075 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of Templates: time 0.003673/0.3814, allocations: 1.365 MB / 1.076 GB, free: 1.863 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile (rm -f Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1)