Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00152/0.00152, 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.001943/0.001943, allocations: 195.5 kB / 16.14 MB, free: 6.688 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.401/1.401, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.052/3.052, allocations: 472.6 MB / 0.7447 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 68.2 kB / 0.9114 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3682, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002889/0.3712, allocations: 1.551 MB / 1.069 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.3725, allocations: 0.7478 MB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.341e-05/0.3725, allocations: 0 / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.765e-05/0.3726, allocations: 3.938 kB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.926e-05/0.3726, allocations: 7.938 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005221/0.3732, allocations: 107.8 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.3733, allocations: 63.84 kB / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.581e-05/0.3734, allocations: 19.97 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.701e-05/0.3735, allocations: 35.84 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.532e-05/0.3735, allocations: 35.84 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.3736, allocations: 7.984 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001858/0.3738, allocations: 83.92 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.014e-05/0.3738, allocations: 19.91 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.777e-05/0.3739, allocations: 27.86 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002199/0.3741, allocations: 147.8 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3741, allocations: 4 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.31e-07/0.3741, allocations: 0 / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.3741, allocations: 4 kB / 1.07 GB, free: 8.039 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.0006413/0.3748, allocations: 405 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.3748, allocations: 12.03 kB / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.483e-05/0.3749, allocations: 8.844 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.375, allocations: 180.1 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.375, allocations: 4.375 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.3751, allocations: 12.38 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.3753, allocations: 69.97 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.3753, allocations: 0 / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.3753, allocations: 0 / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.3753, allocations: 0 / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.3755, allocations: 39.91 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006934/0.3762, allocations: 312.8 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.3763, allocations: 50.56 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.3764, allocations: 36.95 kB / 1.071 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.3764, allocations: 0 / 1.071 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002082/0.3767, allocations: 79.31 kB / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.3767, allocations: 0 / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004203/0.3771, allocations: 141.6 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.132e-05/0.3772, allocations: 55.41 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.3773, allocations: 121.7 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.3773, allocations: 29.7 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.3775, allocations: 88.14 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.3775, allocations: 19.75 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-05/0.3776, allocations: 29.7 kB / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.3777, allocations: 326.8 kB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.317e-05/0.3778, allocations: 23.92 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.999e-05/0.3779, allocations: 63.34 kB / 1.072 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.3781, allocations: 75.36 kB / 1.072 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3781, allocations: 7.938 kB / 1.072 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002463/0.3783, allocations: 117.5 kB / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.3784, allocations: 4 kB / 1.073 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3784, allocations: 0 / 1.073 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.3784, allocations: 8.062 kB / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.724e-05/0.3785, allocations: 11.98 kB / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.3785, allocations: 4.25 kB / 1.073 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.74e-05/0.3786, allocations: 4 kB / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.3786, allocations: 4 kB / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,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.0001005/0.3787, allocations: 121.8 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.788e-05/0.3787, allocations: 11.89 kB / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.601e-05/0.3787, allocations: 4.438 kB / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.3788, allocations: 16.03 kB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3788, allocations: 0 / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3788, allocations: 0 / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004497/0.3792, allocations: 390.3 kB / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3792, allocations: 0 / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.883e-05/0.3793, allocations: 4 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3793, allocations: 0 / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.3793, allocations: 3.984 kB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3793, allocations: 8 kB / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.3793, allocations: 3.938 kB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003719/0.3797, allocations: 203.4 kB / 1.073 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.3798, allocations: 89 kB / 1.073 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.3798, allocations: 0 / 1.073 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.821e-05/0.3799, allocations: 7.938 kB / 1.073 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/0.38, allocations: 7.922 kB / 1.073 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.38, allocations: 8 kB / 1.073 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.623e-05/0.3801, allocations: 99.86 kB / 1.073 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3801, allocations: 0 / 1.073 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003016/0.3804, allocations: 36 kB / 1.074 GB, free: 4.395 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,occ.y,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.0003885/0.3808, allocations: 153.5 kB / 1.074 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002402/0.381, allocations: 83.88 kB / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.381, allocations: 0 / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.984e-05/0.3811, allocations: 31.98 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.3814, allocations: 9.531 kB / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000424/0.3818, allocations: 194.2 kB / 1.074 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.3821, allocations: 0.6887 MB / 1.075 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.012e-05/0.3822, allocations: 4 kB / 1.075 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.656e-05/0.3822, allocations: 15.42 kB / 1.075 GB, free: 3.172 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.3822, allocations: 0 / 1.075 GB, free: 3.172 MB / 0.8262 GB Notification: Performance of Templates: time 0.004644/0.3869, allocations: 1.382 MB / 1.076 GB, free: 1.793 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1)