Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009847/0.0009845, allocations: 97.72 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.006137/0.006138, allocations: 172.6 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.474/1.474, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.027/3.027, allocations: 473.4 MB / 0.7469 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005961/0.0005965, allocations: 15.75 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.368, allocations: 162.2 MB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002159/0.3703, allocations: 1.208 MB / 1.075 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001505/0.3718, allocations: 0.7207 MB / 1.076 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.966e-05/0.3719, allocations: 0 / 1.076 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.971e-05/0.3719, allocations: 0 / 1.076 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.823e-05/0.372, allocations: 23.84 kB / 1.076 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006073/0.3726, allocations: 95.78 kB / 1.076 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.3728, allocations: 63.83 kB / 1.076 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.419e-05/0.3729, allocations: 7.984 kB / 1.076 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.373, allocations: 31.86 kB / 1.076 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.066e-05/0.3731, allocations: 35.83 kB / 1.076 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.3731, allocations: 8 kB / 1.076 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002177/0.3733, allocations: 83.91 kB / 1.076 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.774e-05/0.3734, allocations: 15.92 kB / 1.076 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.718e-05/0.3735, allocations: 53.56 kB / 1.076 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00027/0.3737, allocations: 135.8 kB / 1.077 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.3737, allocations: 0 / 1.077 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3738, allocations: 0 / 1.077 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.3738, allocations: 0 / 1.077 GB, free: 5.031 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.0006807/0.3745, allocations: 438.7 kB / 1.077 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.3745, allocations: 8.031 kB / 1.077 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.091e-05/0.3746, allocations: 8.844 kB / 1.077 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.3747, allocations: 168.3 kB / 1.077 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.945e-05/0.3748, allocations: 8.359 kB / 1.077 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.3748, allocations: 384 / 1.077 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002484/0.3751, allocations: 85.89 kB / 1.077 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.3751, allocations: 0 / 1.077 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.3751, allocations: 4 kB / 1.077 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.3751, allocations: 7.875 kB / 1.077 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001567/0.3753, allocations: 43.97 kB / 1.077 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000621/0.3759, allocations: 296.7 kB / 1.078 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.3761, allocations: 54.55 kB / 1.078 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.3762, allocations: 40.91 kB / 1.078 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.142e-05/0.3763, allocations: 0 / 1.078 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002483/0.3765, allocations: 79.38 kB / 1.078 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.783e-06/0.3765, allocations: 0 / 1.078 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004501/0.377, allocations: 145.6 kB / 1.078 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.377, allocations: 55.41 kB / 1.078 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.3771, allocations: 129.8 kB / 1.078 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.3772, allocations: 25.7 kB / 1.078 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.522e-05/0.3772, allocations: 92.14 kB / 1.078 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.3773, allocations: 19.73 kB / 1.078 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/0.3773, allocations: 17.72 kB / 1.078 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.3774, allocations: 322.8 kB / 1.079 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.439e-05/0.3775, allocations: 23.98 kB / 1.079 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.473e-05/0.3776, allocations: 65.14 kB / 1.079 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.3778, allocations: 101 kB / 1.079 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3778, allocations: 0 / 1.079 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000242/0.3781, allocations: 121.5 kB / 1.079 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.3781, allocations: 8 kB / 1.079 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3781, allocations: 0 / 1.079 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.3781, allocations: 4 kB / 1.079 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.481e-05/0.3782, allocations: 15.92 kB / 1.079 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.3782, allocations: 4 kB / 1.079 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.683e-05/0.3783, allocations: 11.91 kB / 1.079 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.3783, allocations: 7.938 kB / 1.079 GB, free: 2.395 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 0.0001067/0.3784, allocations: 135.2 kB / 1.079 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.461e-05/0.3784, allocations: 0 / 1.079 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.014e-05/0.3785, allocations: 12.38 kB / 1.079 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3785, allocations: 3.938 kB / 1.079 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.3785, allocations: 0 / 1.079 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3785, allocations: 0 / 1.079 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004966/0.379, allocations: 390.4 kB / 1.079 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.379, allocations: 0 / 1.079 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.34e-05/0.3791, allocations: 7.984 kB / 1.079 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.3791, allocations: 0 / 1.079 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.3791, allocations: 0 / 1.079 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3791, allocations: 0 / 1.079 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.3791, allocations: 7.875 kB / 1.079 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003204/0.3794, allocations: 215.5 kB / 1.08 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.697e-05/0.3795, allocations: 88.95 kB / 1.08 GB, free: 1.453 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.3795, allocations: 4 kB / 1.08 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.065e-05/0.3796, allocations: 4 kB / 1.08 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.239e-05/0.3797, allocations: 11.92 kB / 1.08 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.3797, allocations: 0 / 1.08 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.59e-05/0.3798, allocations: 99.27 kB / 1.08 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2e-07/0.3798, allocations: 0 / 1.08 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003443/0.3801, allocations: 39.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 (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.0004488/0.3806, allocations: 160 kB / 1.08 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002525/0.3809, allocations: 83.83 kB / 1.08 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3809, allocations: 3.938 kB / 1.08 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.381, allocations: 39.97 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.0002666/0.3813, allocations: 8.312 kB / 1.08 GB, free: 1.016 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004275/0.3817, allocations: 215 kB / 1.08 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.382, allocations: 0.6926 MB / 1.081 GB, free: 56 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.832e-05/0.382, allocations: 8 kB / 1.081 GB, free: 48 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.437e-05/0.3821, allocations: 11.44 kB / 1.081 GB, free: 36 kB / 0.8262 GB Notification: Performance of SimCode: time 4.11e-07/0.3821, allocations: 3.938 kB / 1.081 GB, free: 32 kB / 0.8262 GB Notification: Performance of Templates: time 0.004255/0.3863, allocations: 1.342 MB / 1.082 GB, free: 14.7 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (rm -f Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1)