Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 195.2 kB / 16.53 MB, free: 6.391 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.383/1.383, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.928/2.928, allocations: 472.6 MB / 0.7451 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 61.92 kB / 0.912 GB, free: 33.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.3511, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002563/0.3537, allocations: 1.511 MB / 1.07 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.355, allocations: 0.7594 MB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.394e-05/0.355, allocations: 4 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.283e-05/0.3551, allocations: 11.86 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.219e-05/0.3551, allocations: 7.875 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006297/0.3558, allocations: 143.6 kB / 1.071 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.3559, allocations: 99.77 kB / 1.071 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.356, allocations: 15.97 kB / 1.071 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.801e-05/0.3561, allocations: 51.83 kB / 1.071 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.942e-05/0.3562, allocations: 51.81 kB / 1.071 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.807e-05/0.3563, allocations: 12 kB / 1.071 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000187/0.3565, allocations: 99.84 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.373e-05/0.3565, allocations: 23.97 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.814e-05/0.3566, allocations: 43.77 kB / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.3568, allocations: 163.9 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3568, allocations: 0 / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3568, allocations: 0 / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.3568, allocations: 0 / 1.071 GB, free: 7.398 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006615/0.3575, allocations: 458.6 kB / 1.072 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.3576, allocations: 12.03 kB / 1.072 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.051e-05/0.3576, allocations: 8.844 kB / 1.072 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.3577, allocations: 176.2 kB / 1.072 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.3578, allocations: 8.359 kB / 1.072 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.3578, allocations: 12.38 kB / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002509/0.3581, allocations: 85.94 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.3581, allocations: 3.938 kB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.3581, allocations: 0 / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.3581, allocations: 4 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.3583, allocations: 51.91 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007814/0.3591, allocations: 348.7 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.3593, allocations: 66.55 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.3594, allocations: 48.86 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.3594, allocations: 7.938 kB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002341/0.3597, allocations: 91.34 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.583e-06/0.3597, allocations: 0 / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0005513/0.3602, allocations: 185.7 kB / 1.073 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.3603, allocations: 67.39 kB / 1.073 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.469e-05/0.3604, allocations: 121.2 kB / 1.073 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.3604, allocations: 29.7 kB / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.962e-05/0.3605, allocations: 99.97 kB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.3605, allocations: 15.81 kB / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.937e-05/0.3606, allocations: 29.7 kB / 1.073 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.3607, allocations: 326.8 kB / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.637e-05/0.3608, allocations: 31.98 kB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.3609, allocations: 64.27 kB / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.3611, allocations: 96.2 kB / 1.073 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.3611, allocations: 0 / 1.073 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002572/0.3613, allocations: 133.4 kB / 1.074 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.3614, allocations: 5.562 kB / 1.074 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.3614, allocations: 0 / 1.074 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.3614, allocations: 4 kB / 1.074 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.3615, allocations: 19.98 kB / 1.074 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3615, allocations: 0 / 1.074 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.892e-05/0.3616, allocations: 16.02 kB / 1.074 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.3616, allocations: 4 kB / 1.074 GB, free: 4.559 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,occ.y,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.952e-05/0.3617, allocations: 130.2 kB / 1.074 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.3618, allocations: 7.906 kB / 1.074 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.786e-05/0.3618, allocations: 8.359 kB / 1.074 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.3618, allocations: 0 / 1.074 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.3618, allocations: 0 / 1.074 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.3618, allocations: 4 kB / 1.074 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005765/0.3624, allocations: 438.2 kB / 1.074 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3624, allocations: 0 / 1.074 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.185e-05/0.3625, allocations: 7.984 kB / 1.074 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3625, allocations: 0 / 1.074 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.3625, allocations: 8.062 kB / 1.074 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3625, allocations: 0 / 1.074 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.3625, allocations: 7.938 kB / 1.074 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003903/0.3629, allocations: 247.4 kB / 1.074 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.761e-05/0.363, allocations: 77.11 kB / 1.074 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.7e-05/0.363, allocations: 4 kB / 1.074 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.3631, allocations: 7.984 kB / 1.075 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.3632, allocations: 7.938 kB / 1.075 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.3632, allocations: 19.86 kB / 1.075 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.154e-05/0.3633, allocations: 95.27 kB / 1.075 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3633, allocations: 0 / 1.075 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003032/0.3636, allocations: 43.84 kB / 1.075 GB, free: 3.367 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003413/0.3639, allocations: 164.3 kB / 1.075 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003077/0.3642, allocations: 99.86 kB / 1.075 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3642, allocations: 0 / 1.075 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.3644, allocations: 47.91 kB / 1.075 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.3647, allocations: 18.05 kB / 1.075 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005691/0.3653, allocations: 192.3 kB / 1.075 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.3656, allocations: 0.6885 MB / 1.076 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.778e-05/0.3657, allocations: 11.78 kB / 1.076 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.508e-05/0.3657, allocations: 19.42 kB / 1.076 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of SimCode: time 2.8e-07/0.3657, allocations: 0 / 1.076 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of Templates: time 0.005044/0.3708, allocations: 1.735 MB / 1.078 GB, free: 372 kB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile (rm -f Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & ./Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1)