Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.833/2.833, allocations: 287.5 MB / 302.4 MB, free: 8.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001286/0.001286, allocations: 167.2 kB / 371 MB, free: 10.89 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.108/2.108, allocations: 205.4 MB / 0.6297 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009323/0.000932, allocations: 89.11 kB / 0.743 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004891/0.0004894, allocations: 15.97 kB / 0.8658 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2252, allocations: 115.3 MB / 0.9784 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002638/0.228, allocations: 1.203 MB / 0.9795 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002393/0.2304, allocations: 0.7073 MB / 0.9802 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.2306, allocations: 4 kB / 0.9802 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.794e-05/0.2307, allocations: 3.938 kB / 0.9802 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.731e-05/0.2308, allocations: 3.938 kB / 0.9802 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008853/0.2317, allocations: 95.77 kB / 0.9803 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001585/0.2319, allocations: 63.78 kB / 0.9804 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.232, allocations: 11.98 kB / 0.9804 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.2322, allocations: 31.84 kB / 0.9804 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.46e-05/0.2323, allocations: 23.91 kB / 0.9804 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.746e-05/0.2323, allocations: 4 kB / 0.9804 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003245/0.2327, allocations: 87.84 kB / 0.9805 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.74e-05/0.2327, allocations: 15.98 kB / 0.9805 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.051e-05/0.2328, allocations: 37.64 kB / 0.9806 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002501/0.2331, allocations: 96.05 kB / 0.9807 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.2331, allocations: 0 / 0.9807 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.575e-06/0.2331, allocations: 0 / 0.9807 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.2332, allocations: 0 / 0.9807 GB, free: 25.97 MB / 0.6198 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.000774/0.234, allocations: 434.5 kB / 0.9811 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/0.234, allocations: 16.03 kB / 0.9811 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.593e-05/0.2341, allocations: 7.859 kB / 0.9811 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.2342, allocations: 171 kB / 0.9813 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.257e-05/0.2343, allocations: 4 kB / 0.9813 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.37e-05/0.2344, allocations: 7.984 kB / 0.9813 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003534/0.2347, allocations: 77.53 kB / 0.9814 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.2348, allocations: 0 / 0.9814 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/0.2348, allocations: 0 / 0.9814 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.2348, allocations: 4 kB / 0.9814 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003511/0.2352, allocations: 43.97 kB / 0.9814 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007886/0.236, allocations: 296.7 kB / 0.9817 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002854/0.2363, allocations: 62.48 kB / 0.9817 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002184/0.2366, allocations: 32.97 kB / 0.9818 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.21e-05/0.2366, allocations: 0 / 0.9818 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002939/0.2369, allocations: 83.38 kB / 0.9819 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.144e-06/0.237, allocations: 0 / 0.9819 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005879/0.2376, allocations: 149.6 kB / 0.982 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.2376, allocations: 55.34 kB / 0.9821 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.122e-05/0.2377, allocations: 133.7 kB / 0.9822 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.2377, allocations: 29.7 kB / 0.9822 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.31e-05/0.2378, allocations: 92.27 kB / 0.9823 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.2378, allocations: 19.8 kB / 0.9823 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.023e-06/0.2378, allocations: 0 / 0.9823 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.444e-05/0.2379, allocations: 314.8 kB / 0.9826 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.238, allocations: 23.98 kB / 0.9826 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.2382, allocations: 73.06 kB / 0.9827 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.2383, allocations: 27.98 kB / 0.9827 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-06/0.2383, allocations: 4 kB / 0.9827 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003299/0.2387, allocations: 121.4 kB / 0.9829 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.2387, allocations: 4 kB / 0.9829 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.2387, allocations: 4 kB / 0.9829 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.2387, allocations: 4 kB / 0.9829 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.2389, allocations: 24.03 kB / 0.9829 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.2389, allocations: 4 kB / 0.9829 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.934e-05/0.239, allocations: 12 kB / 0.9829 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.239, allocations: 4 kB / 0.9829 GB, free: 23.43 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.blindState,bli.blindState,$PRE.bli.pDown,bli.pDown,occ.y,$whenCondition1,bli.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.333e-05/0.2391, allocations: 121.7 kB / 0.983 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.209e-05/0.2392, allocations: 7.906 kB / 0.983 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.335e-05/0.2392, allocations: 12.36 kB / 0.983 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.2392, allocations: 0 / 0.983 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.2393, allocations: 7.953 kB / 0.9831 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.2393, allocations: 4 kB / 0.9831 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005952/0.2399, allocations: 374.5 kB / 0.9834 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2399, allocations: 0 / 0.9834 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.526e-05/0.24, allocations: 4 kB / 0.9834 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.24, allocations: 0 / 0.9834 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.24, allocations: 15.94 kB / 0.9834 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.24, allocations: 7.875 kB / 0.9834 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.24, allocations: 4 kB / 0.9834 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003892/0.2404, allocations: 207.8 kB / 0.9836 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.252e-05/0.2405, allocations: 89 kB / 0.9837 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.44e-05/0.2405, allocations: 4 kB / 0.9837 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.2407, allocations: 7.953 kB / 0.9837 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.41e-05/0.2407, allocations: 11.98 kB / 0.9838 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.2408, allocations: 0 / 0.9838 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.427e-05/0.2408, allocations: 95.2 kB / 0.9838 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2408, allocations: 0 / 0.9838 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004/0.2413, allocations: 39.98 kB / 0.9839 GB, free: 22.34 MB / 0.6198 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 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pDown,bli.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004185/0.2417, allocations: 162.9 kB / 0.984 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003636/0.2421, allocations: 75.84 kB / 0.9841 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.2421, allocations: 4.312 kB / 0.9841 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001598/0.2423, allocations: 39.97 kB / 0.9841 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.2426, allocations: 7.984 kB / 0.9842 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005235/0.2432, allocations: 215.1 kB / 0.9844 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001448/0.2433, allocations: 0.6926 MB / 0.985 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.744e-05/0.2434, allocations: 4.188 kB / 0.985 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.177e-05/0.2434, allocations: 11.44 kB / 0.9851 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of SimCode: time 1.092e-06/0.2434, allocations: 0 / 0.9851 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of Templates: time 0.005318/0.2488, allocations: 1.324 MB / 0.9863 GB, free: 19.77 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1)