Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 108 kB / 15.61 MB, free: 152 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.001087/0.001087, allocations: 195.4 kB / 16.53 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.366/1.366, allocations: 222.9 MB / 240.2 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.78/2.78, allocations: 472.6 MB / 0.7451 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 63.52 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3554, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.003246/0.3587, allocations: 1.483 MB / 1.07 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001497/0.3602, allocations: 0.736 MB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.933e-05/0.3603, allocations: 0 / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.359e-05/0.3604, allocations: 7.875 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.503e-05/0.3605, allocations: 7.938 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007048/0.3612, allocations: 127.5 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.3613, allocations: 67.84 kB / 1.071 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.3615, allocations: 27.95 kB / 1.071 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.3616, allocations: 27.92 kB / 1.071 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.678e-05/0.3617, allocations: 43.81 kB / 1.071 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.3617, allocations: 8 kB / 1.071 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002176/0.3619, allocations: 91.86 kB / 1.071 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.593e-05/0.362, allocations: 23.91 kB / 1.071 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.797e-05/0.362, allocations: 31.86 kB / 1.071 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003097/0.3623, allocations: 139.9 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3623, allocations: 7.938 kB / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.804e-06/0.3624, allocations: 0 / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.3624, allocations: 4 kB / 1.071 GB, free: 7.578 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.0006673/0.363, allocations: 409 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3631, allocations: 12.03 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.057e-05/0.3631, allocations: 8.844 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.3633, allocations: 176.2 kB / 1.072 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.9e-05/0.3633, allocations: 8.375 kB / 1.072 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.3634, allocations: 12.38 kB / 1.072 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.3636, allocations: 77.94 kB / 1.072 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.3636, allocations: 0 / 1.072 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.3636, allocations: 0 / 1.072 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.3636, allocations: 0 / 1.072 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/0.3637, allocations: 39.91 kB / 1.072 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006281/0.3644, allocations: 324.7 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.3645, allocations: 46.56 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.709e-05/0.3646, allocations: 36.97 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.3647, allocations: 0 / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002121/0.3649, allocations: 79.38 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/0.3649, allocations: 3.938 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003996/0.3653, allocations: 137.6 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.3653, allocations: 55.41 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.957e-05/0.3654, allocations: 125.7 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.724e-05/0.3655, allocations: 25.7 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.401e-05/0.3656, allocations: 88.14 kB / 1.073 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.3656, allocations: 23.73 kB / 1.073 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.241e-05/0.3657, allocations: 29.7 kB / 1.073 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.3658, allocations: 322.8 kB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.281e-05/0.3659, allocations: 23.98 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.278e-05/0.366, allocations: 50.55 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.3661, allocations: 78.48 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3661, allocations: 0 / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002424/0.3664, allocations: 109.5 kB / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.3664, allocations: 5.875 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.3664, allocations: 3.984 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.3665, allocations: 4 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.65e-05/0.3666, allocations: 20 kB / 1.073 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.3666, allocations: 0 / 1.073 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.649e-05/0.3666, allocations: 11.92 kB / 1.073 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.3667, allocations: 4 kB / 1.073 GB, free: 5.027 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 9.239e-05/0.3668, allocations: 118.3 kB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.3668, allocations: 7.906 kB / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.655e-05/0.3668, allocations: 16.3 kB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.3668, allocations: 0 / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.3668, allocations: 8 kB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3669, allocations: 0 / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004419/0.3673, allocations: 386.3 kB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.3673, allocations: 0 / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.061e-05/0.3674, allocations: 4 kB / 1.074 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.3674, allocations: 0 / 1.074 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.3674, allocations: 0 / 1.074 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.3674, allocations: 3.984 kB / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3674, allocations: 7.938 kB / 1.074 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/0.3677, allocations: 211.8 kB / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.981e-05/0.3678, allocations: 85.02 kB / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.3678, allocations: 4 kB / 1.074 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.597e-05/0.3679, allocations: 3.984 kB / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.652e-05/0.3679, allocations: 7.938 kB / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.368, allocations: 7.984 kB / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.396e-05/0.368, allocations: 95.27 kB / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.368, allocations: 0 / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003129/0.3683, allocations: 36 kB / 1.074 GB, free: 3.945 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.0003873/0.3687, allocations: 166.1 kB / 1.074 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002696/0.369, allocations: 87.83 kB / 1.074 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.369, allocations: 0 / 1.074 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.795e-05/0.3691, allocations: 31.98 kB / 1.074 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.3694, allocations: 14.11 kB / 1.074 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004804/0.3699, allocations: 180.4 kB / 1.075 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.3702, allocations: 0.6885 MB / 1.075 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.886e-05/0.3703, allocations: 4 kB / 1.075 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.15e-05/0.3703, allocations: 11.44 kB / 1.075 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of SimCode: time 3.71e-07/0.3703, allocations: 0 / 1.075 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of Templates: time 0.004641/0.3749, allocations: 1.448 MB / 1.077 GB, free: 1.277 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1)