Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001086/0.001086, allocations: 196.6 kB / 16.14 MB, free: 6.664 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.392/1.392, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.807/2.807, allocations: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 60.98 kB / 0.9114 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3704, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002799/0.3733, allocations: 1.554 MB / 1.069 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.3745, allocations: 0.744 MB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.569e-05/0.3746, allocations: 0 / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.737e-05/0.3746, allocations: 3.938 kB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.626e-05/0.3747, allocations: 7.922 kB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005379/0.3752, allocations: 103.8 kB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.3753, allocations: 63.84 kB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.3755, allocations: 23.97 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.477e-05/0.3756, allocations: 31.84 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.398e-05/0.3756, allocations: 39.83 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.3757, allocations: 4 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001939/0.3759, allocations: 91.91 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.862e-05/0.3759, allocations: 11.92 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.262e-05/0.376, allocations: 27.86 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002415/0.3762, allocations: 143.8 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3762, allocations: 4 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3762, allocations: 0 / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.3762, allocations: 0 / 1.07 GB, free: 8.059 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.0006733/0.3769, allocations: 421 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.377, allocations: 8.031 kB / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.003e-05/0.377, allocations: 12.84 kB / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.3772, allocations: 176.2 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/0.3772, allocations: 4.375 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.3772, allocations: 8.359 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.3774, allocations: 73.97 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.3774, allocations: 0 / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.3775, allocations: 3.938 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.3775, allocations: 7.938 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.3776, allocations: 35.97 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006467/0.3783, allocations: 312.8 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.3784, allocations: 42.56 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.102e-05/0.3785, allocations: 32.97 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.3785, allocations: 0 / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002061/0.3787, allocations: 91.38 kB / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.3788, allocations: 0 / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004261/0.3792, allocations: 137.5 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.3792, allocations: 51.41 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.3794, allocations: 125.8 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.3794, allocations: 25.7 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.69e-05/0.3794, allocations: 92.12 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.3795, allocations: 23.75 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.579e-05/0.3795, allocations: 33.64 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3797, allocations: 322.8 kB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.034e-05/0.3798, allocations: 23.98 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.15e-05/0.3799, allocations: 42.56 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.38, allocations: 74.55 kB / 1.072 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.38, allocations: 0 / 1.072 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002287/0.3803, allocations: 121.8 kB / 1.072 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.3803, allocations: 7.938 kB / 1.073 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.351e-06/0.3803, allocations: 4 kB / 1.073 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.3803, allocations: 0 / 1.073 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.8e-05/0.3804, allocations: 19.98 kB / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.3805, allocations: 0 / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.632e-05/0.3805, allocations: 8 kB / 1.073 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.3805, allocations: 4 kB / 1.073 GB, free: 5.512 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.0001049/0.3807, allocations: 117.8 kB / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/0.3807, allocations: 11.89 kB / 1.073 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.907e-05/0.3807, allocations: 12.38 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.3807, allocations: 0 / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3807, allocations: 7.938 kB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3807, allocations: 3.938 kB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004626/0.3812, allocations: 382.4 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3812, allocations: 0 / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.875e-05/0.3813, allocations: 4 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.3813, allocations: 3.984 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.3813, allocations: 4 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.716e-06/0.3813, allocations: 8 kB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.3813, allocations: 7.938 kB / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002812/0.3816, allocations: 203.4 kB / 1.073 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.455e-05/0.3817, allocations: 89 kB / 1.073 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.3817, allocations: 0 / 1.073 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.897e-05/0.3818, allocations: 8 kB / 1.073 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.279e-05/0.3818, allocations: 7.922 kB / 1.073 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.3819, allocations: 4 kB / 1.073 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.335e-05/0.3819, allocations: 95.27 kB / 1.073 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3819, allocations: 0 / 1.073 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002836/0.3822, allocations: 36 kB / 1.073 GB, free: 4.426 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.0003468/0.3826, allocations: 160 kB / 1.074 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000238/0.3828, allocations: 79.83 kB / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3828, allocations: 0 / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.414e-05/0.3829, allocations: 35.92 kB / 1.074 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.3832, allocations: 12.73 kB / 1.074 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003999/0.3836, allocations: 190.2 kB / 1.074 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002176/0.3838, allocations: 0.6899 MB / 1.075 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.667e-05/0.3839, allocations: 4 kB / 1.075 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.004e-05/0.3839, allocations: 15.42 kB / 1.075 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.3839, allocations: 0 / 1.075 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of Templates: time 0.00394/0.3878, allocations: 1.376 MB / 1.076 GB, free: 1.836 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1)