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.0008991/0.0008992, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.00637/0.00637, allocations: 174.9 kB / 16.27 MB, free: 6.613 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: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.853/2.853, allocations: 473.4 MB / 0.7469 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003954/0.0003954, allocations: 9.5 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3847/0.3852, allocations: 162.2 MB / 1.074 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.001756/0.387, allocations: 1.212 MB / 1.075 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00123/0.3882, allocations: 0.7285 MB / 1.076 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.172e-05/0.3882, allocations: 4 kB / 1.076 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.722e-05/0.3883, allocations: 0 / 1.076 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.738e-05/0.3884, allocations: 11.86 kB / 1.076 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004819/0.3888, allocations: 103.8 kB / 1.076 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.995e-05/0.389, allocations: 63.84 kB / 1.076 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.642e-05/0.3891, allocations: 23.95 kB / 1.076 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.207e-05/0.3891, allocations: 23.92 kB / 1.076 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.588e-05/0.3892, allocations: 43.83 kB / 1.076 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.3892, allocations: 4 kB / 1.076 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001671/0.3894, allocations: 91.78 kB / 1.076 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.259e-05/0.3895, allocations: 15.92 kB / 1.076 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.874e-05/0.3895, allocations: 53.56 kB / 1.076 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.3897, allocations: 139.9 kB / 1.077 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3897, allocations: 0 / 1.077 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3897, allocations: 0 / 1.077 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.3897, allocations: 4 kB / 1.077 GB, free: 5 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.0006226/0.3904, allocations: 405 kB / 1.077 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.3904, allocations: 11.97 kB / 1.077 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.767e-05/0.3905, allocations: 8.844 kB / 1.077 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.3906, allocations: 176.3 kB / 1.077 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.3906, allocations: 384 / 1.077 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.3907, allocations: 8.375 kB / 1.077 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.3909, allocations: 77.97 kB / 1.077 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.3909, allocations: 0 / 1.077 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.3909, allocations: 3.984 kB / 1.077 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3909, allocations: 0 / 1.077 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001406/0.3911, allocations: 47.91 kB / 1.077 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006024/0.3917, allocations: 320.6 kB / 1.078 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.3918, allocations: 54.56 kB / 1.078 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.848e-05/0.3919, allocations: 32.97 kB / 1.078 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.3919, allocations: 7.984 kB / 1.078 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000187/0.3921, allocations: 83.39 kB / 1.078 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.3921, allocations: 0 / 1.078 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.000431/0.3926, allocations: 149.5 kB / 1.078 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.3926, allocations: 55.41 kB / 1.078 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.332e-05/0.3927, allocations: 117.8 kB / 1.078 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.3928, allocations: 29.69 kB / 1.078 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.284e-05/0.3928, allocations: 92.14 kB / 1.078 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/0.3928, allocations: 11.75 kB / 1.078 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.3929, allocations: 21.7 kB / 1.078 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.393, allocations: 322.8 kB / 1.079 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.695e-05/0.3931, allocations: 35.97 kB / 1.079 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.691e-05/0.3932, allocations: 55.36 kB / 1.079 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00018/0.3934, allocations: 91.41 kB / 1.079 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3934, allocations: 0 / 1.079 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002514/0.3937, allocations: 121.4 kB / 1.079 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.3937, allocations: 4.062 kB / 1.079 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.3937, allocations: 8 kB / 1.079 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.3937, allocations: 0 / 1.079 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.448e-05/0.3938, allocations: 11.98 kB / 1.079 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.3938, allocations: 4 kB / 1.079 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.141e-05/0.3939, allocations: 11.84 kB / 1.079 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.3939, allocations: 11.98 kB / 1.079 GB, free: 2.402 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 9.186e-05/0.394, allocations: 125.7 kB / 1.079 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.366e-05/0.394, allocations: 8 kB / 1.079 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.697e-05/0.3941, allocations: 12.38 kB / 1.079 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.3941, allocations: 0 / 1.079 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.3941, allocations: 0 / 1.079 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3941, allocations: 3.984 kB / 1.079 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004428/0.3945, allocations: 390.6 kB / 1.079 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3946, allocations: 4 kB / 1.079 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.121e-05/0.3946, allocations: 7.984 kB / 1.079 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.3946, allocations: 0 / 1.079 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.3946, allocations: 0 / 1.079 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.3946, allocations: 0 / 1.079 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.3946, allocations: 3.938 kB / 1.079 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003298/0.395, allocations: 223.5 kB / 1.08 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.982e-05/0.395, allocations: 85.02 kB / 1.08 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.395, allocations: 0 / 1.08 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.269e-05/0.3951, allocations: 7.984 kB / 1.08 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.863e-05/0.3952, allocations: 11.94 kB / 1.08 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.3952, allocations: 0 / 1.08 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.844e-05/0.3953, allocations: 99.86 kB / 1.08 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3953, allocations: 0 / 1.08 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003151/0.3956, allocations: 43.98 kB / 1.08 GB, free: 1.297 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.0003244/0.3959, allocations: 162.3 kB / 1.08 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002436/0.3962, allocations: 83.95 kB / 1.08 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.3962, allocations: 0 / 1.08 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.3963, allocations: 39.92 kB / 1.08 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.3966, allocations: 5.969 kB / 1.08 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000406/0.397, allocations: 213.1 kB / 1.08 GB, free: 0.7773 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.3973, allocations: 0.6901 MB / 1.081 GB, free: 64 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.536e-05/0.3973, allocations: 0 / 1.081 GB, free: 64 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.931e-05/0.3974, allocations: 15.42 kB / 1.081 GB, free: 48 kB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3974, allocations: 0 / 1.081 GB, free: 48 kB / 0.8262 GB Notification: Performance of Templates: time 0.004018/0.4014, allocations: 1.364 MB / 1.082 GB, free: 14.68 MB / 0.8419 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)