Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0009232/0.0009232, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.005471/0.005471, allocations: 172.7 kB / 16.27 MB, free: 6.648 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.463/1.463, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.97/2.97, allocations: 473.4 MB / 0.7469 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003929/0.0003929, allocations: 9.656 kB / 0.9158 GB, free: 33.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4044/0.4048, allocations: 162.2 MB / 1.074 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002232/0.4071, allocations: 1.219 MB / 1.075 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001552/0.4087, allocations: 0.7285 MB / 1.076 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.624e-05/0.4088, allocations: 0 / 1.076 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.583e-05/0.4088, allocations: 3.984 kB / 1.076 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.001e-05/0.4089, allocations: 15.86 kB / 1.076 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006541/0.4096, allocations: 103.8 kB / 1.076 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.4097, allocations: 67.78 kB / 1.076 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.4098, allocations: 15.97 kB / 1.076 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.4099, allocations: 31.91 kB / 1.076 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.886e-05/0.41, allocations: 31.84 kB / 1.076 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.4101, allocations: 4 kB / 1.076 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002335/0.4103, allocations: 91.84 kB / 1.076 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.397e-05/0.4103, allocations: 15.92 kB / 1.076 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.531e-05/0.4104, allocations: 65.53 kB / 1.076 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002613/0.4107, allocations: 131.9 kB / 1.077 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.4107, allocations: 0 / 1.077 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4107, allocations: 4 kB / 1.077 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.4107, allocations: 0 / 1.077 GB, free: 4.973 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.0006917/0.4114, allocations: 401 kB / 1.077 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.4115, allocations: 8.031 kB / 1.077 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.216e-05/0.4116, allocations: 8.844 kB / 1.077 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.4117, allocations: 180.2 kB / 1.077 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.75e-05/0.4117, allocations: 4.375 kB / 1.077 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.4118, allocations: 4.375 kB / 1.077 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.412, allocations: 77.97 kB / 1.077 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.412, allocations: 3.938 kB / 1.077 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.412, allocations: 0 / 1.077 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.412, allocations: 0 / 1.077 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001512/0.4122, allocations: 47.97 kB / 1.077 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006877/0.4129, allocations: 324.6 kB / 1.078 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.413, allocations: 50.56 kB / 1.078 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.675e-05/0.4131, allocations: 40.95 kB / 1.078 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.4132, allocations: 0 / 1.078 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000223/0.4134, allocations: 79.38 kB / 1.078 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/0.4134, allocations: 0 / 1.078 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004506/0.4139, allocations: 153.5 kB / 1.078 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.4139, allocations: 51.41 kB / 1.078 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.414, allocations: 121.8 kB / 1.078 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.4141, allocations: 33.7 kB / 1.078 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.721e-05/0.4141, allocations: 88.14 kB / 1.078 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.4142, allocations: 19.75 kB / 1.078 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.249e-05/0.4142, allocations: 21.7 kB / 1.078 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.4143, allocations: 318.8 kB / 1.079 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.414e-05/0.4144, allocations: 31.97 kB / 1.079 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.816e-05/0.4145, allocations: 50.56 kB / 1.079 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.4147, allocations: 78.48 kB / 1.079 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4147, allocations: 0 / 1.079 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002559/0.415, allocations: 125.4 kB / 1.079 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.415, allocations: 9.562 kB / 1.079 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.415, allocations: 0 / 1.079 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.415, allocations: 0 / 1.079 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.4151, allocations: 19.92 kB / 1.079 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.4152, allocations: 3.938 kB / 1.079 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.86e-05/0.4152, allocations: 15.97 kB / 1.079 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.4153, allocations: 4 kB / 1.079 GB, free: 2.398 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.0001058/0.4154, allocations: 117.8 kB / 1.079 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.858e-05/0.4154, allocations: 11.98 kB / 1.079 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.996e-05/0.4154, allocations: 8.375 kB / 1.079 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.4154, allocations: 4 kB / 1.079 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.4154, allocations: 0 / 1.079 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.748e-06/0.4155, allocations: 0 / 1.079 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004611/0.4159, allocations: 394.2 kB / 1.079 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.4159, allocations: 4 kB / 1.079 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.048e-05/0.416, allocations: 4 kB / 1.079 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.416, allocations: 0 / 1.079 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.416, allocations: 3.984 kB / 1.079 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.416, allocations: 0 / 1.079 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.416, allocations: 7.938 kB / 1.079 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002917/0.4163, allocations: 216 kB / 1.08 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.871e-05/0.4164, allocations: 89 kB / 1.08 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.4164, allocations: 0 / 1.08 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.584e-05/0.4165, allocations: 11.94 kB / 1.08 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.157e-05/0.4166, allocations: 19.91 kB / 1.08 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.4166, allocations: 0 / 1.08 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.929e-05/0.4166, allocations: 95.27 kB / 1.08 GB, free: 1.332 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4167, allocations: 0 / 1.08 GB, free: 1.332 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003085/0.417, allocations: 36 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.0003765/0.4173, allocations: 162 kB / 1.08 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002479/0.4176, allocations: 79.89 kB / 1.08 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.4176, allocations: 0 / 1.08 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.4177, allocations: 31.98 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.000259/0.418, allocations: 16.11 kB / 1.08 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004026/0.4184, allocations: 209 kB / 1.08 GB, free: 0.7812 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.4187, allocations: 0.6809 MB / 1.081 GB, free: 76 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.644e-05/0.4187, allocations: 11.98 kB / 1.081 GB, free: 64 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.682e-05/0.4187, allocations: 11.44 kB / 1.081 GB, free: 52 kB / 0.8262 GB Notification: Performance of SimCode: time 3.8e-07/0.4187, allocations: 0 / 1.081 GB, free: 52 kB / 0.8262 GB Notification: Performance of Templates: time 0.004368/0.4231, allocations: 1.363 MB / 1.082 GB, free: 14.69 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile (rm -f Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1)