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.001282/0.001283, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001439/0.00144, allocations: 195.9 kB / 16.14 MB, free: 6.734 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.432/1.432, 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 2.93/2.93, allocations: 472.6 MB / 0.7447 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 69.55 kB / 0.9114 GB, free: 33.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3509, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.00331/0.3543, allocations: 1.551 MB / 1.069 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001405/0.3557, allocations: 0.7439 MB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.021e-05/0.3558, allocations: 0 / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.411e-05/0.3559, allocations: 3.938 kB / 1.07 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.017e-05/0.356, allocations: 15.91 kB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006482/0.3567, allocations: 99.78 kB / 1.07 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.3568, allocations: 67.83 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.3569, allocations: 23.91 kB / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.357, allocations: 27.86 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.607e-05/0.3571, allocations: 35.89 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.3571, allocations: 4 kB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002098/0.3574, allocations: 91.91 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.478e-05/0.3574, allocations: 15.86 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.113e-05/0.3574, allocations: 35.84 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002358/0.3577, allocations: 135.9 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.3577, allocations: 4 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.32e-07/0.3577, allocations: 0 / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.3577, allocations: 4 kB / 1.07 GB, free: 8.07 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.0006339/0.3584, allocations: 413 kB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.3584, allocations: 8.031 kB / 1.071 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.597e-05/0.3585, allocations: 8.844 kB / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.3586, allocations: 180.2 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.3586, allocations: 4.375 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.3586, allocations: 8.375 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.3588, allocations: 73.91 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.587e-06/0.3588, allocations: 0 / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.3589, allocations: 0 / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.3589, allocations: 4 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.359, allocations: 35.97 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006427/0.3597, allocations: 316.8 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.3598, allocations: 50.5 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.135e-05/0.3599, allocations: 32.91 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.3599, allocations: 7.984 kB / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002041/0.3601, allocations: 71.39 kB / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.3601, allocations: 4 kB / 1.071 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004007/0.3606, allocations: 141.5 kB / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.3606, allocations: 55.34 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.719e-05/0.3607, allocations: 121.8 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.3607, allocations: 29.69 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.067e-05/0.3608, allocations: 92.14 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.3608, allocations: 19.81 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.087e-05/0.3609, allocations: 33.7 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.361, allocations: 322.8 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.34e-05/0.3611, allocations: 23.98 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.068e-05/0.3612, allocations: 47 kB / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.3614, allocations: 82.42 kB / 1.072 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3614, allocations: 0 / 1.072 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002337/0.3616, allocations: 109.8 kB / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.3616, allocations: 4 kB / 1.072 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3616, allocations: 4 kB / 1.072 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.3617, allocations: 0 / 1.072 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.692e-05/0.3618, allocations: 11.98 kB / 1.073 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.3618, allocations: 4.062 kB / 1.073 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.476e-05/0.3618, allocations: 12.06 kB / 1.073 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.3619, allocations: 8 kB / 1.073 GB, free: 5.531 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 9.932e-05/0.362, allocations: 125.7 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.665e-05/0.362, allocations: 7.906 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.764e-05/0.362, allocations: 12.38 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.362, allocations: 0 / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.362, allocations: 0 / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.362, allocations: 0 / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004623/0.3625, allocations: 390.4 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.3625, allocations: 0 / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.235e-05/0.3626, allocations: 7.984 kB / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.3626, allocations: 3.938 kB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.3626, allocations: 4 kB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3626, allocations: 0 / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.3626, allocations: 3.938 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002917/0.3629, allocations: 207.4 kB / 1.073 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.271e-05/0.363, allocations: 85.02 kB / 1.073 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.363, allocations: 4 kB / 1.073 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.729e-05/0.3631, allocations: 4 kB / 1.073 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.43e-05/0.3632, allocations: 11.92 kB / 1.073 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.437e-06/0.3632, allocations: 3.938 kB / 1.073 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.67e-05/0.3632, allocations: 95.42 kB / 1.073 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.81e-07/0.3633, allocations: 4 kB / 1.073 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003013/0.3636, allocations: 43.98 kB / 1.073 GB, free: 4.438 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.0003692/0.3639, allocations: 159.7 kB / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002382/0.3642, allocations: 63.95 kB / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3642, allocations: 4.125 kB / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.3643, allocations: 43.91 kB / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.3646, allocations: 4 kB / 1.074 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004344/0.365, allocations: 190.1 kB / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/0.3653, allocations: 0.6848 MB / 1.075 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.53e-05/0.3654, allocations: 7.984 kB / 1.075 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.068e-05/0.3654, allocations: 15.44 kB / 1.075 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.3654, allocations: 0 / 1.075 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of Templates: time 0.004172/0.3696, allocations: 1.378 MB / 1.076 GB, free: 1.848 MB / 0.8262 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)