Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001244, 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.001374/0.001374, allocations: 198.5 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.442/1.442, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.159/3.159, allocations: 472.6 MB / 0.7447 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001766/0.001766, allocations: 65.25 kB / 0.9114 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4622/0.464, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.003632/0.4677, allocations: 1.562 MB / 1.069 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001456/0.4691, allocations: 0.7363 MB / 1.07 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.084e-05/0.4692, allocations: 7.875 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.098e-05/0.4693, allocations: 0 / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.977e-05/0.4694, allocations: 11.92 kB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005637/0.4699, allocations: 99.77 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.4701, allocations: 71.77 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.945e-05/0.4702, allocations: 19.98 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.4703, allocations: 31.89 kB / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.439e-05/0.4704, allocations: 35.84 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.4704, allocations: 4 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002255/0.4706, allocations: 95.84 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.813e-05/0.4707, allocations: 11.92 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.163e-05/0.4707, allocations: 31.84 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002811/0.471, allocations: 139.9 kB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.471, allocations: 0 / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.02e-07/0.471, allocations: 0 / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.4711, allocations: 4 kB / 1.07 GB, free: 8.066 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.0006919/0.4718, allocations: 417 kB / 1.071 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.4718, allocations: 8.031 kB / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.497e-05/0.4719, allocations: 8.844 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.472, allocations: 184.1 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.982e-05/0.472, allocations: 4.375 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.4721, allocations: 384 / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.4723, allocations: 77.97 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.4723, allocations: 3.984 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.4723, allocations: 0 / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.902e-06/0.4723, allocations: 4 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.4725, allocations: 31.98 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006249/0.4731, allocations: 324.7 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.4732, allocations: 50.5 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.482e-05/0.4733, allocations: 28.97 kB / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.4734, allocations: 0 / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000226/0.4736, allocations: 79.38 kB / 1.071 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.4736, allocations: 4 kB / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004227/0.474, allocations: 137.5 kB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.4741, allocations: 55.39 kB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.4742, allocations: 125.8 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.4742, allocations: 25.7 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.706e-05/0.4743, allocations: 96.19 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.4743, allocations: 19.75 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.409e-05/0.4744, allocations: 33.7 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.4745, allocations: 318.8 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.591e-05/0.4746, allocations: 27.97 kB / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.883e-05/0.4747, allocations: 42.56 kB / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.4749, allocations: 82.78 kB / 1.072 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4749, allocations: 0 / 1.072 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002623/0.4752, allocations: 113.5 kB / 1.072 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.4752, allocations: 4 kB / 1.072 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.4752, allocations: 4 kB / 1.073 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.4752, allocations: 0 / 1.073 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.4753, allocations: 11.98 kB / 1.073 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.4754, allocations: 0 / 1.073 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.932e-05/0.4754, allocations: 12.06 kB / 1.073 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.4755, allocations: 7.938 kB / 1.073 GB, free: 5.523 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 0.0001178/0.4756, allocations: 124.7 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.984e-05/0.4756, allocations: 7.906 kB / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.487e-05/0.4756, allocations: 16.36 kB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.4756, allocations: 0 / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.4757, allocations: 0 / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.4757, allocations: 0 / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004775/0.4761, allocations: 386.3 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4762, allocations: 0 / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.02e-05/0.4762, allocations: 11.94 kB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.4762, allocations: 0 / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.4762, allocations: 7.984 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.4762, allocations: 0 / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.4763, allocations: 3.938 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000294/0.4766, allocations: 207.4 kB / 1.073 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.9e-05/0.4766, allocations: 85.02 kB / 1.073 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.4766, allocations: 3.984 kB / 1.073 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.58e-05/0.4767, allocations: 4 kB / 1.073 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.4768, allocations: 11.92 kB / 1.073 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.4768, allocations: 7.938 kB / 1.073 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.795e-05/0.4769, allocations: 95.86 kB / 1.073 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.5e-07/0.4769, allocations: 4 kB / 1.073 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003021/0.4772, allocations: 36 kB / 1.073 GB, free: 4.434 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.0003706/0.4776, allocations: 152 kB / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002507/0.4778, allocations: 76.11 kB / 1.074 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4778, allocations: 8.062 kB / 1.074 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.589e-05/0.4779, allocations: 32.14 kB / 1.074 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.4782, allocations: 16.48 kB / 1.074 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004219/0.4786, allocations: 186.3 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.4789, allocations: 0.6982 MB / 1.075 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.163e-05/0.479, allocations: 4 kB / 1.075 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.703e-05/0.479, allocations: 11.44 kB / 1.075 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.479, allocations: 0 / 1.075 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of Templates: time 0.00441/0.4834, allocations: 1.369 MB / 1.076 GB, free: 1.844 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1)