Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009764/0.0009763, allocations: 97.95 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.008245/0.008246, allocations: 170.9 kB / 16.27 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.433/1.433, 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.854/2.854, allocations: 473.4 MB / 0.7469 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000338/0.000338, allocations: 8.438 kB / 0.9158 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3313, allocations: 162.2 MB / 1.074 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002083/0.3334, allocations: 1.212 MB / 1.075 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001449/0.3349, allocations: 0.7168 MB / 1.076 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.582e-05/0.335, allocations: 4 kB / 1.076 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.559e-05/0.335, allocations: 3.984 kB / 1.076 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.675e-05/0.3351, allocations: 11.86 kB / 1.076 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006023/0.3357, allocations: 95.78 kB / 1.076 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.3358, allocations: 67.77 kB / 1.076 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.336, allocations: 19.98 kB / 1.076 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.3361, allocations: 27.86 kB / 1.076 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.922e-05/0.3362, allocations: 23.91 kB / 1.076 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.3362, allocations: 4 kB / 1.076 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002289/0.3364, allocations: 91.84 kB / 1.076 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.442e-05/0.3365, allocations: 19.91 kB / 1.076 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.937e-05/0.3366, allocations: 53.56 kB / 1.076 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002584/0.3368, allocations: 127.9 kB / 1.077 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.3368, allocations: 4 kB / 1.077 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3368, allocations: 0 / 1.077 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.3369, allocations: 3.938 kB / 1.077 GB, free: 5.02 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.0006547/0.3375, allocations: 434.7 kB / 1.077 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.3376, allocations: 8.031 kB / 1.077 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.905e-05/0.3376, allocations: 8.844 kB / 1.077 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.3377, allocations: 172.3 kB / 1.077 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/0.3378, allocations: 4.375 kB / 1.077 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.3378, allocations: 16.31 kB / 1.077 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002269/0.338, allocations: 73.91 kB / 1.077 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.3381, allocations: 0 / 1.077 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.3381, allocations: 0 / 1.077 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.158e-06/0.3381, allocations: 4 kB / 1.077 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000148/0.3382, allocations: 39.97 kB / 1.077 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005686/0.3388, allocations: 308.7 kB / 1.078 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.339, allocations: 54.5 kB / 1.078 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.751e-05/0.3391, allocations: 36.97 kB / 1.078 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.3391, allocations: 0 / 1.078 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002014/0.3394, allocations: 75.38 kB / 1.078 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.3394, allocations: 4 kB / 1.078 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004274/0.3398, allocations: 153.5 kB / 1.078 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.3398, allocations: 67.39 kB / 1.078 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.303e-05/0.3399, allocations: 113.8 kB / 1.078 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.34, allocations: 33.7 kB / 1.078 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.618e-05/0.34, allocations: 88.12 kB / 1.078 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.3401, allocations: 19.75 kB / 1.078 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.751e-05/0.3401, allocations: 13.72 kB / 1.078 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.3402, allocations: 326.8 kB / 1.079 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.447e-05/0.3403, allocations: 23.98 kB / 1.079 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.882e-05/0.3404, allocations: 65.12 kB / 1.079 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001782/0.3406, allocations: 93.08 kB / 1.079 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3406, allocations: 8 kB / 1.079 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002396/0.3408, allocations: 117.4 kB / 1.079 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.3409, allocations: 4 kB / 1.079 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.3409, allocations: 4 kB / 1.079 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.3409, allocations: 3.938 kB / 1.079 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.965e-05/0.341, allocations: 24.08 kB / 1.079 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.341, allocations: 0 / 1.079 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.942e-05/0.3411, allocations: 19.89 kB / 1.079 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.3411, allocations: 4 kB / 1.079 GB, free: 2.375 MB / 0.8262 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 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.pDown,$PRE.bli.pDown,occ.y,bli.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.588e-05/0.3412, allocations: 126.9 kB / 1.079 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.5e-05/0.3412, allocations: 4 kB / 1.079 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.772e-05/0.3412, allocations: 8.375 kB / 1.079 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3413, allocations: 8 kB / 1.079 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.3413, allocations: 7.938 kB / 1.079 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3413, allocations: 0 / 1.079 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004755/0.3418, allocations: 386.4 kB / 1.079 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.3418, allocations: 0 / 1.079 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.184e-05/0.3418, allocations: 4 kB / 1.079 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.3418, allocations: 4 kB / 1.079 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.3418, allocations: 11.94 kB / 1.079 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3419, allocations: 0 / 1.079 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.3419, allocations: 3.938 kB / 1.079 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002943/0.3422, allocations: 203.5 kB / 1.08 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.832e-05/0.3422, allocations: 89.02 kB / 1.08 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.3422, allocations: 0 / 1.08 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.352e-05/0.3423, allocations: 7.984 kB / 1.08 GB, free: 1.43 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.3424, allocations: 11.94 kB / 1.08 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.3424, allocations: 3.984 kB / 1.08 GB, free: 1.414 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.983e-05/0.3425, allocations: 95.92 kB / 1.08 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3425, allocations: 0 / 1.08 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003057/0.3428, allocations: 36 kB / 1.08 GB, free: 1.285 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 (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 (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.000323/0.3431, allocations: 167.2 kB / 1.08 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002436/0.3434, allocations: 79.83 kB / 1.08 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.3434, allocations: 4.312 kB / 1.08 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.3435, allocations: 35.98 kB / 1.08 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.3438, allocations: 7.984 kB / 1.08 GB, free: 1.004 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003889/0.3442, allocations: 223 kB / 1.08 GB, free: 0.7539 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.3444, allocations: 0.6887 MB / 1.081 GB, free: 40 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.589e-05/0.3445, allocations: 4 kB / 1.081 GB, free: 36 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.452e-05/0.3445, allocations: 15.42 kB / 1.081 GB, free: 20 kB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3445, allocations: 0 / 1.081 GB, free: 20 kB / 0.8262 GB Notification: Performance of Templates: time 0.004056/0.3486, allocations: 1.348 MB / 1.082 GB, free: 14.68 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1)