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.0009058/0.0009056, allocations: 91.06 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.006981/0.006982, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.431/1.431, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.89/2.89, allocations: 473.4 MB / 0.7469 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003775/0.0003775, allocations: 9.469 kB / 0.9158 GB, free: 33.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3884, allocations: 162.2 MB / 1.074 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.001875/0.3903, allocations: 1.219 MB / 1.075 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001375/0.3917, allocations: 0.7168 MB / 1.076 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.479e-05/0.3918, allocations: 7.875 kB / 1.076 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.382e-05/0.3918, allocations: 7.984 kB / 1.076 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.407e-05/0.3919, allocations: 7.938 kB / 1.076 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000571/0.3925, allocations: 103.8 kB / 1.076 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.3926, allocations: 67.77 kB / 1.076 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.3927, allocations: 19.97 kB / 1.076 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.145e-05/0.3928, allocations: 23.92 kB / 1.076 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.319e-05/0.3929, allocations: 43.83 kB / 1.076 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.393, allocations: 4 kB / 1.076 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000209/0.3932, allocations: 91.84 kB / 1.076 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.185e-05/0.3932, allocations: 15.92 kB / 1.076 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.541e-05/0.3933, allocations: 49.56 kB / 1.076 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000258/0.3936, allocations: 139.9 kB / 1.077 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3936, allocations: 0 / 1.077 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.715e-06/0.3936, allocations: 0 / 1.077 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.468e-06/0.3936, allocations: 4 kB / 1.077 GB, free: 4.988 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.0007199/0.3943, allocations: 405 kB / 1.077 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.3944, allocations: 8.031 kB / 1.077 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.607e-05/0.3944, allocations: 12.84 kB / 1.077 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.3946, allocations: 176.3 kB / 1.077 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.423e-05/0.3946, allocations: 4.375 kB / 1.077 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.3947, allocations: 8.312 kB / 1.077 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.3949, allocations: 73.97 kB / 1.077 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.3949, allocations: 4 kB / 1.077 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.3949, allocations: 0 / 1.077 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.3949, allocations: 3.984 kB / 1.077 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000145/0.3951, allocations: 47.97 kB / 1.077 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006979/0.3958, allocations: 320.6 kB / 1.078 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/0.396, allocations: 54.5 kB / 1.078 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.437e-05/0.3961, allocations: 36.97 kB / 1.078 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.3961, allocations: 4 kB / 1.078 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000244/0.3963, allocations: 79.44 kB / 1.078 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.3964, allocations: 3.938 kB / 1.078 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004734/0.3968, allocations: 157.5 kB / 1.078 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.004e-05/0.3969, allocations: 51.41 kB / 1.078 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.397, allocations: 117.8 kB / 1.078 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.3971, allocations: 25.7 kB / 1.078 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.135e-05/0.3972, allocations: 96.12 kB / 1.078 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.3972, allocations: 15.75 kB / 1.078 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/0.3972, allocations: 21.7 kB / 1.078 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.3974, allocations: 318.8 kB / 1.079 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.373e-05/0.3975, allocations: 35.98 kB / 1.079 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.3976, allocations: 50.98 kB / 1.079 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.3978, allocations: 90.77 kB / 1.079 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3978, allocations: 0 / 1.079 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002437/0.398, allocations: 113.5 kB / 1.079 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.3981, allocations: 13.39 kB / 1.079 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.3981, allocations: 4.062 kB / 1.079 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.3981, allocations: 0 / 1.079 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.122e-05/0.3982, allocations: 12 kB / 1.079 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.3982, allocations: 0 / 1.079 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.653e-05/0.3983, allocations: 11.89 kB / 1.079 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.3983, allocations: 4 kB / 1.079 GB, free: 2.41 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.0001104/0.3984, allocations: 131.4 kB / 1.079 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.416e-05/0.3984, allocations: 8 kB / 1.079 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.057e-05/0.3985, allocations: 8.359 kB / 1.079 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.3985, allocations: 4 kB / 1.079 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.3985, allocations: 0 / 1.079 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3985, allocations: 0 / 1.079 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004918/0.399, allocations: 394.2 kB / 1.079 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.399, allocations: 4 kB / 1.079 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.787e-05/0.3991, allocations: 8 kB / 1.079 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.3991, allocations: 0 / 1.079 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.3991, allocations: 3.984 kB / 1.079 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.3991, allocations: 0 / 1.079 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3991, allocations: 3.938 kB / 1.079 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003003/0.3994, allocations: 211.5 kB / 1.08 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.217e-05/0.3995, allocations: 85.02 kB / 1.08 GB, free: 1.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.3995, allocations: 3.984 kB / 1.08 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.572e-05/0.3996, allocations: 8 kB / 1.08 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.87e-05/0.3996, allocations: 11.92 kB / 1.08 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.3996, allocations: 0 / 1.08 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.191e-05/0.3997, allocations: 103.4 kB / 1.08 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3997, allocations: 3.938 kB / 1.08 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002882/0.4, allocations: 43.94 kB / 1.08 GB, free: 1.297 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.0004149/0.4004, allocations: 149.7 kB / 1.08 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002503/0.4007, allocations: 84.19 kB / 1.08 GB, free: 1.074 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.4007, allocations: 0 / 1.08 GB, free: 1.074 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.4008, allocations: 40.06 kB / 1.08 GB, free: 1.035 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.4011, allocations: 8.312 kB / 1.08 GB, free: 1.027 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004386/0.4015, allocations: 213.3 kB / 1.08 GB, free: 0.7852 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.4019, allocations: 0.6848 MB / 1.081 GB, free: 76 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.838e-05/0.4019, allocations: 7.984 kB / 1.081 GB, free: 68 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.724e-05/0.4019, allocations: 11.44 kB / 1.081 GB, free: 56 kB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.4019, allocations: 3.938 kB / 1.081 GB, free: 52 kB / 0.8262 GB Notification: Performance of Templates: time 0.004356/0.4063, allocations: 1.351 MB / 1.082 GB, free: 14.7 MB / 0.8419 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)