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.00142/0.00142, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001716/0.001717, allocations: 189.9 kB / 16.25 MB, free: 6.621 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.462/1.462, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.779/2.779, allocations: 472.6 MB / 0.7448 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 62.59 kB / 0.9115 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3103, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.003034/0.3134, allocations: 1.558 MB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001449/0.3149, allocations: 0.7322 MB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.982e-05/0.3149, allocations: 7.938 kB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.205e-05/0.315, allocations: 0 / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.676e-05/0.315, allocations: 7.922 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005293/0.3156, allocations: 107.8 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.3157, allocations: 79.77 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.862e-05/0.3158, allocations: 11.97 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.783e-05/0.3159, allocations: 35.92 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.249e-05/0.316, allocations: 47.81 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.316, allocations: 4 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001843/0.3162, allocations: 99.84 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.461e-05/0.3162, allocations: 15.92 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.443e-05/0.3163, allocations: 31.86 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002202/0.3165, allocations: 135.9 kB / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3165, allocations: 0 / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3165, allocations: 0 / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.3165, allocations: 0 / 1.07 GB, free: 7.922 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.0006577/0.3172, allocations: 425 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.3172, allocations: 8.031 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.154e-05/0.3173, allocations: 8.844 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.3174, allocations: 176.2 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.78e-05/0.3174, allocations: 4.375 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.3175, allocations: 4.375 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.3176, allocations: 77.89 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.3177, allocations: 4 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.3177, allocations: 4 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3177, allocations: 0 / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001427/0.3178, allocations: 35.92 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006344/0.3185, allocations: 312.8 kB / 1.071 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.3186, allocations: 54.5 kB / 1.072 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.794e-05/0.3187, allocations: 28.97 kB / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.3187, allocations: 8.016 kB / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002002/0.3189, allocations: 75.36 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.319, allocations: 0 / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003816/0.3193, allocations: 145.5 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.3194, allocations: 55.39 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.566e-05/0.3195, allocations: 125.7 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.3195, allocations: 29.7 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.289e-05/0.3196, allocations: 92.12 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/0.3196, allocations: 19.75 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.874e-05/0.3197, allocations: 29.7 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.3198, allocations: 318.8 kB / 1.072 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.14e-05/0.3199, allocations: 31.97 kB / 1.072 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.991e-05/0.32, allocations: 47.42 kB / 1.073 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.3201, allocations: 87.34 kB / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3201, allocations: 0 / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002286/0.3204, allocations: 117.5 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.3204, allocations: 8 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3204, allocations: 0 / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.3204, allocations: 0 / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.787e-05/0.3205, allocations: 19.92 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.3205, allocations: 0 / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.244e-05/0.3206, allocations: 12.06 kB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.3207, allocations: 12.23 kB / 1.073 GB, free: 5.34 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.3208, allocations: 117.8 kB / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.706e-05/0.3208, allocations: 7.906 kB / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.603e-05/0.3208, allocations: 8.375 kB / 1.073 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3208, allocations: 4 kB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3208, allocations: 0 / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.3208, allocations: 3.984 kB / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005275/0.3214, allocations: 386.3 kB / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3214, allocations: 0 / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.184e-05/0.3214, allocations: 7.984 kB / 1.073 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3214, allocations: 0 / 1.073 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.3215, allocations: 4 kB / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.3215, allocations: 0 / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3215, allocations: 7.938 kB / 1.073 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003872/0.3219, allocations: 215.3 kB / 1.073 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.745e-05/0.3219, allocations: 85.02 kB / 1.074 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.3219, allocations: 0 / 1.074 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.444e-05/0.322, allocations: 11.98 kB / 1.074 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.422e-05/0.3221, allocations: 3.938 kB / 1.074 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.3221, allocations: 4 kB / 1.074 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.875e-05/0.3222, allocations: 95.2 kB / 1.074 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3222, allocations: 0 / 1.074 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003116/0.3225, allocations: 43.98 kB / 1.074 GB, free: 4.254 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.000356/0.3228, allocations: 157.7 kB / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000241/0.3231, allocations: 75.94 kB / 1.074 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3231, allocations: 4.062 kB / 1.074 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.627e-05/0.3232, allocations: 39.92 kB / 1.074 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.3235, allocations: 6.344 kB / 1.074 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004599/0.3239, allocations: 196.3 kB / 1.074 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.3243, allocations: 0.6924 MB / 1.075 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.204e-05/0.3243, allocations: 7.984 kB / 1.075 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.399e-05/0.3244, allocations: 11.44 kB / 1.075 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3244, allocations: 0 / 1.075 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of Templates: time 0.004876/0.3292, allocations: 1.427 MB / 1.076 GB, free: 1.602 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)