Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 111.3 kB / 15.24 MB, free: 0.6484 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.001546/0.001546, allocations: 199 kB / 16.14 MB, free: 6.074 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.426/1.426, 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 2.939/2.939, allocations: 472.6 MB / 0.7447 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 64.97 kB / 0.9114 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3639, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002887/0.3668, allocations: 1.644 MB / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001338/0.3682, allocations: 0.783 MB / 1.07 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.667e-05/0.3682, allocations: 4 kB / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.983e-05/0.3683, allocations: 3.938 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.569e-05/0.3684, allocations: 19.84 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004747/0.3688, allocations: 115.8 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.369, allocations: 127.6 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.458e-05/0.3691, allocations: 31.89 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.707e-05/0.3692, allocations: 55.78 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.3693, allocations: 67.78 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.3694, allocations: 8 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002144/0.3696, allocations: 95.78 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.233e-05/0.3696, allocations: 19.97 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.823e-05/0.3697, allocations: 51.7 kB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002349/0.3699, allocations: 187.7 kB / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.37, allocations: 8 kB / 1.071 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.82e-07/0.37, allocations: 0 / 1.071 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.37, allocations: 0 / 1.071 GB, free: 7.691 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007479/0.3707, allocations: 482.5 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.3708, allocations: 8.031 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.189e-05/0.3708, allocations: 8.844 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.371, allocations: 195.6 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/0.371, allocations: 8.375 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.937e-05/0.371, allocations: 16.12 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/0.3713, allocations: 97.5 kB / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.3713, allocations: 4 kB / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.3713, allocations: 3.984 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3714, allocations: 0 / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002055/0.3716, allocations: 59.95 kB / 1.071 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008664/0.3724, allocations: 368.6 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.3726, allocations: 74.48 kB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.3728, allocations: 48.83 kB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.3728, allocations: 8.156 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002349/0.373, allocations: 103.3 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.373, allocations: 0 / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0005887/0.3736, allocations: 213.4 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.3737, allocations: 55.78 kB / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.3738, allocations: 153.7 kB / 1.072 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.3738, allocations: 25.7 kB / 1.072 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.713e-05/0.3739, allocations: 100.3 kB / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.3739, allocations: 27.67 kB / 1.073 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-05/0.374, allocations: 29.7 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.3741, allocations: 322.8 kB / 1.073 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.3742, allocations: 43.98 kB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.3744, allocations: 72.25 kB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002516/0.3746, allocations: 116.2 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3747, allocations: 0 / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003405/0.375, allocations: 153.5 kB / 1.073 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.375, allocations: 7.938 kB / 1.073 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.375, allocations: 4 kB / 1.073 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.3751, allocations: 0 / 1.073 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.3752, allocations: 24.08 kB / 1.073 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.3752, allocations: 7.938 kB / 1.073 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.3753, allocations: 11.89 kB / 1.073 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.3754, allocations: 4 kB / 1.073 GB, free: 4.625 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,win.occ,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 (14): * Single equations (assignments): 14 * 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.0001197/0.3755, allocations: 128.9 kB / 1.074 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.3755, allocations: 7.906 kB / 1.074 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.185e-05/0.3756, allocations: 16.7 kB / 1.074 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3756, allocations: 0 / 1.074 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3756, allocations: 7.938 kB / 1.074 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.3756, allocations: 0 / 1.074 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006011/0.3762, allocations: 466.2 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.3762, allocations: 4.062 kB / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.779e-05/0.3763, allocations: 7.984 kB / 1.074 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.3763, allocations: 7.938 kB / 1.074 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.3763, allocations: 0 / 1.074 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3763, allocations: 4 kB / 1.074 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.3763, allocations: 3.938 kB / 1.074 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004069/0.3767, allocations: 263.5 kB / 1.074 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.318e-05/0.3768, allocations: 89.05 kB / 1.074 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.3768, allocations: 7.938 kB / 1.074 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.377, allocations: 11.92 kB / 1.074 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.415e-05/0.377, allocations: 11.98 kB / 1.074 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.377, allocations: 4 kB / 1.074 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.644e-05/0.3771, allocations: 109.5 kB / 1.074 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3771, allocations: 0 / 1.074 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003205/0.3774, allocations: 40 kB / 1.075 GB, free: 3.359 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,win.occ,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 (9): * Single equations (assignments): 5 * 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.0003392/0.3778, allocations: 167.5 kB / 1.075 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003301/0.3781, allocations: 103.9 kB / 1.075 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3781, allocations: 0 / 1.075 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.3783, allocations: 59.91 kB / 1.075 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.3786, allocations: 15.92 kB / 1.075 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000468/0.379, allocations: 261.9 kB / 1.075 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.3793, allocations: 0.7043 MB / 1.076 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.634e-05/0.3794, allocations: 7.984 kB / 1.076 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.845e-05/0.3794, allocations: 11.44 kB / 1.076 GB, free: 1.992 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.3794, allocations: 0 / 1.076 GB, free: 1.992 MB / 0.8262 GB Notification: Performance of Templates: time 0.004787/0.3842, allocations: 1.841 MB / 1.078 GB, free: 164 kB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1)