Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.00118/0.00118, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009451/0.009451, allocations: 169.9 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.528/1.528, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.628/1.628, allocations: 252 MB / 0.5105 GB, free: 4.73 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005981/0.0005987, allocations: 12 kB / 0.6249 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5868/0.5874, allocations: 106.3 MB / 0.7287 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.001945/0.5894, allocations: 1.219 MB / 0.7299 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001465/0.5909, allocations: 0.7642 MB / 0.7307 GB, free: 9.312 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.029e-05/0.591, allocations: 0 / 0.7307 GB, free: 9.312 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.405e-05/0.591, allocations: 3.984 kB / 0.7307 GB, free: 9.309 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.591e-05/0.5911, allocations: 11.86 kB / 0.7307 GB, free: 9.297 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006041/0.5917, allocations: 103.8 kB / 0.7308 GB, free: 9.195 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.5919, allocations: 75.7 kB / 0.7308 GB, free: 9.121 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.592, allocations: 8 kB / 0.7308 GB, free: 9.113 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.5921, allocations: 35.91 kB / 0.7309 GB, free: 9.078 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.196e-05/0.5922, allocations: 35.84 kB / 0.7309 GB, free: 9.043 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.5922, allocations: 7.938 kB / 0.7309 GB, free: 9.035 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002326/0.5924, allocations: 91.84 kB / 0.731 GB, free: 8.945 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.331e-05/0.5925, allocations: 15.97 kB / 0.731 GB, free: 8.93 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.363e-05/0.5926, allocations: 57.48 kB / 0.7311 GB, free: 8.867 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000269/0.5928, allocations: 133.6 kB / 0.7312 GB, free: 8.738 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.5929, allocations: 0 / 0.7312 GB, free: 8.738 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.244e-06/0.5929, allocations: 0 / 0.7312 GB, free: 8.738 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.5929, allocations: 0 / 0.7312 GB, free: 8.738 MB / 0.545 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.000689/0.5936, allocations: 412.4 kB / 0.7316 GB, free: 8.285 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.5936, allocations: 12.03 kB / 0.7316 GB, free: 8.273 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.399e-05/0.5937, allocations: 8.844 kB / 0.7316 GB, free: 8.266 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.5938, allocations: 176.2 kB / 0.7318 GB, free: 8.055 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.55e-05/0.5939, allocations: 4.375 kB / 0.7318 GB, free: 8.051 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.5939, allocations: 8.375 kB / 0.7318 GB, free: 8.043 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002226/0.5941, allocations: 73.97 kB / 0.7319 GB, free: 7.965 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.5942, allocations: 0 / 0.7319 GB, free: 7.965 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.5942, allocations: 4 kB / 0.7319 GB, free: 7.961 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.5942, allocations: 0 / 0.7319 GB, free: 7.961 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001399/0.5943, allocations: 39.97 kB / 0.7319 GB, free: 7.922 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006586/0.595, allocations: 328.7 kB / 0.7322 GB, free: 7.551 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.5952, allocations: 54.55 kB / 0.7323 GB, free: 7.488 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.623e-05/0.5953, allocations: 36.97 kB / 0.7323 GB, free: 7.449 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.5953, allocations: 4 kB / 0.7323 GB, free: 7.445 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002055/0.5955, allocations: 83.27 kB / 0.7324 GB, free: 7.352 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 2.324e-06/0.5955, allocations: 0 / 0.7324 GB, free: 7.352 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0005163/0.596, allocations: 153.6 kB / 0.7325 GB, free: 7.195 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.5961, allocations: 51.41 kB / 0.7326 GB, free: 7.133 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.5962, allocations: 133.6 kB / 0.7327 GB, free: 6.992 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.5963, allocations: 25.7 kB / 0.7327 GB, free: 6.961 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.428e-05/0.5963, allocations: 92.14 kB / 0.7328 GB, free: 6.867 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.052e-05/0.5963, allocations: 7.812 kB / 0.7328 GB, free: 6.859 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.223e-05/0.5964, allocations: 21.7 kB / 0.7329 GB, free: 6.832 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.5965, allocations: 330.8 kB / 0.7332 GB, free: 6.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.613e-05/0.5966, allocations: 27.98 kB / 0.7332 GB, free: 6.473 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.368e-05/0.5967, allocations: 46.56 kB / 0.7332 GB, free: 6.418 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.5969, allocations: 86.48 kB / 0.7333 GB, free: 6.324 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5969, allocations: 0 / 0.7333 GB, free: 6.324 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002499/0.5972, allocations: 117.5 kB / 0.7334 GB, free: 6.203 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.5972, allocations: 8.062 kB / 0.7335 GB, free: 6.195 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.5972, allocations: 4 kB / 0.7335 GB, free: 6.191 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.5972, allocations: 0 / 0.7335 GB, free: 6.191 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.717e-05/0.5973, allocations: 11.98 kB / 0.7335 GB, free: 6.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.5974, allocations: 7.938 kB / 0.7335 GB, free: 6.172 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.75e-05/0.5974, allocations: 11.88 kB / 0.7335 GB, free: 6.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.5974, allocations: 4 kB / 0.7335 GB, free: 6.156 MB / 0.545 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.0001088/0.5976, allocations: 128.7 kB / 0.7336 GB, free: 6.023 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.033e-05/0.5976, allocations: 11.89 kB / 0.7336 GB, free: 6.012 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.206e-05/0.5976, allocations: 8.359 kB / 0.7336 GB, free: 6.004 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.5976, allocations: 0 / 0.7336 GB, free: 6.004 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.5976, allocations: 0 / 0.7336 GB, free: 6.004 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.5977, allocations: 4 kB / 0.7336 GB, free: 6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004616/0.5981, allocations: 390.4 kB / 0.734 GB, free: 5.562 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-06/0.5981, allocations: 0 / 0.734 GB, free: 5.562 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.849e-05/0.5982, allocations: 4 kB / 0.734 GB, free: 5.559 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.369e-06/0.5982, allocations: 7.922 kB / 0.734 GB, free: 5.551 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.5982, allocations: 4 kB / 0.734 GB, free: 5.547 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.5982, allocations: 0 / 0.734 GB, free: 5.547 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.5982, allocations: 3.938 kB / 0.734 GB, free: 5.543 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002911/0.5985, allocations: 219.4 kB / 0.7342 GB, free: 5.312 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.004e-05/0.5986, allocations: 85 kB / 0.7343 GB, free: 5.211 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.5986, allocations: 8 kB / 0.7343 GB, free: 5.203 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.48e-05/0.5987, allocations: 4 kB / 0.7343 GB, free: 5.199 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.222e-05/0.5987, allocations: 11.86 kB / 0.7343 GB, free: 5.188 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.417e-06/0.5988, allocations: 4 kB / 0.7343 GB, free: 5.184 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.154e-05/0.5988, allocations: 95.27 kB / 0.7344 GB, free: 5.09 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5988, allocations: 4 kB / 0.7344 GB, free: 5.086 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002971/0.5991, allocations: 35.94 kB / 0.7345 GB, free: 5.051 MB / 0.545 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.0003787/0.5995, allocations: 160.6 kB / 0.7346 GB, free: 4.898 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002325/0.5998, allocations: 83.89 kB / 0.7347 GB, free: 4.816 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.5998, allocations: 0 / 0.7347 GB, free: 4.816 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.645e-05/0.5999, allocations: 35.98 kB / 0.7347 GB, free: 4.781 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.6001, allocations: 7.984 kB / 0.7347 GB, free: 4.773 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004149/0.6005, allocations: 215.1 kB / 0.735 GB, free: 4.535 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.6008, allocations: 0.6926 MB / 0.7356 GB, free: 3.816 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.904e-05/0.6009, allocations: 4 kB / 0.7356 GB, free: 3.812 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.535e-05/0.6009, allocations: 11.44 kB / 0.7356 GB, free: 3.805 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.6009, allocations: 0 / 0.7356 GB, free: 3.805 MB / 0.545 GB Notification: Performance of Templates: time 0.004207/0.6051, allocations: 1.359 MB / 0.737 GB, free: 2.457 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) Environment - environmentSimulation: