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.001356/0.001356, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001681/0.001681, allocations: 198.1 kB / 16.14 MB, free: 6.695 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.421/1.421, allocations: 222.9 MB / 239.8 MB, free: 4.645 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.885/2.885, allocations: 472.6 MB / 0.7447 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 62.17 kB / 0.9114 GB, free: 33.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3678, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002582/0.3704, allocations: 1.57 MB / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001256/0.3717, allocations: 0.7713 MB / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.638e-05/0.3718, allocations: 3.938 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.407e-05/0.3718, allocations: 0 / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.549e-05/0.3719, allocations: 7.875 kB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005064/0.3724, allocations: 115.8 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.3725, allocations: 107.7 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.956e-05/0.3726, allocations: 7.984 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.597e-05/0.3727, allocations: 47.83 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.416e-05/0.3728, allocations: 51.81 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.3728, allocations: 4 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000181/0.373, allocations: 87.91 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.172e-05/0.3731, allocations: 27.84 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.585e-05/0.3731, allocations: 39.84 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000235/0.3734, allocations: 163.8 kB / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3734, allocations: 4 kB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.31e-07/0.3734, allocations: 0 / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.3734, allocations: 0 / 1.07 GB, free: 7.914 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.0006627/0.3741, allocations: 458.6 kB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.3741, allocations: 8.031 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.329e-05/0.3742, allocations: 8.844 kB / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.3743, allocations: 176.2 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.3743, allocations: 8.375 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.3744, allocations: 8.375 kB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002634/0.3746, allocations: 93.81 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.3746, allocations: 4 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.3747, allocations: 0 / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3747, allocations: 0 / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001908/0.3749, allocations: 47.95 kB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007648/0.3756, allocations: 352.6 kB / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.3758, allocations: 58.55 kB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.376, allocations: 44.84 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.376, allocations: 160 / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002701/0.3763, allocations: 103.3 kB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.3763, allocations: 0 / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0005934/0.3769, allocations: 189.8 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.377, allocations: 55.41 kB / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.889e-05/0.3771, allocations: 125.3 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.3771, allocations: 33.7 kB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.162e-05/0.3771, allocations: 88.05 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.3772, allocations: 23.78 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.408e-05/0.3772, allocations: 33.7 kB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.3774, allocations: 318.8 kB / 1.073 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.067e-05/0.3774, allocations: 35.97 kB / 1.073 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.3776, allocations: 60.28 kB / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001794/0.3777, allocations: 96.2 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3778, allocations: 3.938 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002688/0.378, allocations: 137.5 kB / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.3781, allocations: 8 kB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.3781, allocations: 80 / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.3781, allocations: 0 / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.3782, allocations: 19.92 kB / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.617e-06/0.3782, allocations: 12.02 kB / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.283e-05/0.3783, allocations: 11.94 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.3783, allocations: 4 kB / 1.073 GB, free: 5.078 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.365e-05/0.3784, allocations: 125.8 kB / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.246e-05/0.3785, allocations: 7.906 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.601e-05/0.3785, allocations: 8.375 kB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.3785, allocations: 4 kB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3785, allocations: 4 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3785, allocations: 0 / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005892/0.3791, allocations: 430.3 kB / 1.074 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3791, allocations: 3.938 kB / 1.074 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.241e-05/0.3792, allocations: 4 kB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.3792, allocations: 0 / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.3792, allocations: 7.984 kB / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.3792, allocations: 0 / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3792, allocations: 7.938 kB / 1.074 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004133/0.3796, allocations: 247.3 kB / 1.074 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.585e-05/0.3797, allocations: 81.11 kB / 1.074 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.789e-05/0.3797, allocations: 3.984 kB / 1.074 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.3798, allocations: 4 kB / 1.074 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.162e-05/0.3799, allocations: 19.92 kB / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.3799, allocations: 0 / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.458e-05/0.38, allocations: 95.27 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.38, allocations: 0 / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003155/0.3803, allocations: 51.83 kB / 1.074 GB, free: 3.895 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.0003208/0.3806, allocations: 157 kB / 1.074 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003045/0.381, allocations: 91.92 kB / 1.074 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.381, allocations: 0 / 1.074 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.3811, allocations: 55.84 kB / 1.074 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.3814, allocations: 21.23 kB / 1.074 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004597/0.3819, allocations: 214.1 kB / 1.075 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.3821, allocations: 0.6887 MB / 1.075 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.687e-05/0.3822, allocations: 15.77 kB / 1.075 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.685e-05/0.3822, allocations: 11.44 kB / 1.075 GB, free: 2.602 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.3822, allocations: 0 / 1.075 GB, free: 2.602 MB / 0.8262 GB Notification: Performance of Templates: time 0.004291/0.3865, allocations: 1.649 MB / 1.077 GB, free: 0.9609 MB / 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)