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.0008547/0.000855, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008809/0.008809, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.442/1.442, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.943/2.943, allocations: 473.4 MB / 0.7469 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.000362, allocations: 13.3 kB / 0.9158 GB, free: 33.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3241, allocations: 162.2 MB / 1.074 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.001664/0.3258, allocations: 1.212 MB / 1.075 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.327, allocations: 0.7285 MB / 1.076 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.255e-05/0.327, allocations: 0 / 1.076 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.712e-05/0.327, allocations: 7.875 kB / 1.076 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.15e-05/0.3271, allocations: 7.938 kB / 1.076 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004346/0.3275, allocations: 103.8 kB / 1.076 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.005e-05/0.3276, allocations: 67.83 kB / 1.076 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.642e-05/0.3277, allocations: 19.97 kB / 1.076 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.343e-05/0.3278, allocations: 27.86 kB / 1.076 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.159e-05/0.3279, allocations: 43.81 kB / 1.076 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.3279, allocations: 4 kB / 1.076 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.3281, allocations: 83.91 kB / 1.076 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.192e-05/0.3281, allocations: 15.92 kB / 1.076 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.175e-05/0.3282, allocations: 53.56 kB / 1.076 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001996/0.3284, allocations: 139.8 kB / 1.077 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.3284, allocations: 8 kB / 1.077 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3284, allocations: 0 / 1.077 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.3284, allocations: 0 / 1.077 GB, free: 5.004 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.0005306/0.3289, allocations: 405 kB / 1.077 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.329, allocations: 8.031 kB / 1.077 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.732e-05/0.329, allocations: 8.844 kB / 1.077 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.3291, allocations: 172.3 kB / 1.077 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/0.3292, allocations: 8.375 kB / 1.077 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.3292, allocations: 8.375 kB / 1.077 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.3294, allocations: 73.91 kB / 1.077 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.3294, allocations: 0 / 1.077 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.3294, allocations: 0 / 1.077 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.3294, allocations: 0 / 1.077 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.3295, allocations: 47.97 kB / 1.077 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005852/0.3301, allocations: 320.7 kB / 1.078 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.3303, allocations: 54.5 kB / 1.078 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.008e-05/0.3304, allocations: 40.91 kB / 1.078 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.3304, allocations: 0 / 1.078 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002247/0.3306, allocations: 79.38 kB / 1.078 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.3306, allocations: 0 / 1.078 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003865/0.331, allocations: 149.6 kB / 1.078 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.3311, allocations: 59.41 kB / 1.078 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.532e-05/0.3312, allocations: 125.7 kB / 1.078 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.3312, allocations: 29.7 kB / 1.078 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.245e-05/0.3313, allocations: 92.14 kB / 1.078 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.3313, allocations: 19.73 kB / 1.078 GB, free: 3.129 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.951e-05/0.3313, allocations: 17.72 kB / 1.078 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.3315, allocations: 322.8 kB / 1.079 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.12e-05/0.3315, allocations: 31.98 kB / 1.079 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.3317, allocations: 50.55 kB / 1.079 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.3318, allocations: 78.5 kB / 1.079 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3318, allocations: 0 / 1.079 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002468/0.3321, allocations: 125.5 kB / 1.079 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.3321, allocations: 4 kB / 1.079 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3321, allocations: 0 / 1.079 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.3321, allocations: 0 / 1.079 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.557e-05/0.3322, allocations: 23.97 kB / 1.079 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.3322, allocations: 0 / 1.079 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.423e-05/0.3323, allocations: 11.91 kB / 1.079 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.3323, allocations: 8.047 kB / 1.079 GB, free: 2.43 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 8.633e-05/0.3324, allocations: 125.7 kB / 1.079 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.272e-05/0.3324, allocations: 7.938 kB / 1.079 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.614e-05/0.3325, allocations: 12.38 kB / 1.079 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3325, allocations: 0 / 1.079 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.3325, allocations: 0 / 1.079 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3325, allocations: 0 / 1.079 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004296/0.3329, allocations: 398.3 kB / 1.079 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3329, allocations: 0 / 1.079 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.839e-05/0.333, allocations: 7.984 kB / 1.079 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.333, allocations: 0 / 1.079 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.333, allocations: 0 / 1.079 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.333, allocations: 4.406 kB / 1.079 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.333, allocations: 3.938 kB / 1.079 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/0.3333, allocations: 219.5 kB / 1.08 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.349e-05/0.3334, allocations: 85.02 kB / 1.08 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.3334, allocations: 0 / 1.08 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.461e-05/0.3335, allocations: 4 kB / 1.08 GB, free: 1.48 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.915e-05/0.3335, allocations: 11.92 kB / 1.08 GB, free: 1.469 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.3335, allocations: 4 kB / 1.08 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.078e-05/0.3336, allocations: 95.27 kB / 1.08 GB, free: 1.371 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3336, allocations: 0 / 1.08 GB, free: 1.371 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002891/0.3339, allocations: 39.98 kB / 1.08 GB, free: 1.332 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.0003329/0.3342, allocations: 157.1 kB / 1.08 GB, free: 1.184 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002282/0.3345, allocations: 79.91 kB / 1.08 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3345, allocations: 0 / 1.08 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.656e-05/0.3346, allocations: 43.91 kB / 1.08 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.3348, allocations: 4.5 kB / 1.08 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003594/0.3352, allocations: 213.2 kB / 1.08 GB, free: 0.8164 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.3354, allocations: 0.6887 MB / 1.081 GB, free: 104 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.397e-05/0.3355, allocations: 3.984 kB / 1.081 GB, free: 100 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.6e-05/0.3355, allocations: 15.44 kB / 1.081 GB, free: 84 kB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3355, allocations: 0 / 1.081 GB, free: 84 kB / 0.8262 GB Notification: Performance of Templates: time 0.003788/0.3393, allocations: 1.37 MB / 1.082 GB, free: 14.71 MB / 0.8419 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)