Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.865/4.865, allocations: 0.5623 GB / 0.5769 GB, free: 3.387 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002378/0.002378, allocations: 361.2 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.227/4.227, allocations: 410.7 MB / 1.112 GB, free: 6.012 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001771/0.001771, allocations: 176.5 kB / 1.225 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.000887/0.0008873, allocations: 12 kB / 1.348 GB, free: 8.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6478/0.6488, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.001424/0.6502, allocations: 1.203 MB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001141/0.6514, allocations: 0.7065 MB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.616e-05/0.6515, allocations: 0 / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.601e-05/0.6515, allocations: 7.922 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.801e-05/0.6516, allocations: 13.92 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004312/0.652, allocations: 91.64 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 7.972e-05/0.6521, allocations: 59.78 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 7.896e-05/0.6522, allocations: 13.33 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 7.719e-05/0.6523, allocations: 23.92 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.86e-05/0.6524, allocations: 36.45 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.6524, allocations: 6.5 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001733/0.6526, allocations: 75.86 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.041e-05/0.6526, allocations: 15.92 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.123e-05/0.6527, allocations: 33.7 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.6528, allocations: 93.94 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.316e-06/0.6528, allocations: 0 / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.865e-06/0.6529, allocations: 0 / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.842e-06/0.6529, allocations: 3.344 kB / 1.463 GB, free: 282 MB / 0.8542 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.000473/0.6533, allocations: 438.5 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.47e-05/0.6534, allocations: 11.62 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/0.6534, allocations: 11.95 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.755e-05/0.6535, allocations: 178.8 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/0.6536, allocations: 8.453 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.6536, allocations: 8 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.6538, allocations: 69.59 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.6538, allocations: 3.984 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.6539, allocations: 1.844 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.236e-06/0.6539, allocations: 4 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/0.654, allocations: 37.89 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000462/0.6545, allocations: 301.4 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.6547, allocations: 48.66 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.6548, allocations: 41.55 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.6549, allocations: 0 / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002071/0.6551, allocations: 89.56 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 2.552e-06/0.6551, allocations: 0 / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0004886/0.6556, allocations: 152 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.6556, allocations: 51.97 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.337e-05/0.6557, allocations: 126.8 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.6558, allocations: 29.7 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.944e-05/0.6558, allocations: 88.33 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.6558, allocations: 20.42 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.029e-06/0.6559, allocations: 4 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.049e-05/0.6559, allocations: 315.8 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.197e-05/0.656, allocations: 25.02 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.6561, allocations: 66.81 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.6562, allocations: 30.38 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.994e-06/0.6563, allocations: 1.844 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002821/0.6566, allocations: 124.2 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.6566, allocations: 15.58 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.6566, allocations: 0 / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.6566, allocations: 4.609 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.6567, allocations: 15.89 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.6568, allocations: 9.594 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.443e-05/0.6569, allocations: 7.984 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.6569, allocations: 4 kB / 1.465 GB, free: 279.4 MB / 0.8542 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 7.957e-05/0.657, allocations: 123.6 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.993e-05/0.657, allocations: 7.906 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.465e-05/0.657, allocations: 4.375 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.665e-06/0.6571, allocations: 5.578 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.747e-06/0.6571, allocations: 3.953 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.642e-06/0.6571, allocations: 0.5 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004834/0.6576, allocations: 389.1 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.127e-06/0.6576, allocations: 0 / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.542e-05/0.6577, allocations: 7.062 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.6577, allocations: 0 / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.6577, allocations: 7.938 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.398e-06/0.6577, allocations: 0 / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.742e-06/0.6577, allocations: 0 / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003178/0.658, allocations: 219 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.45e-05/0.6581, allocations: 88.89 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/0.6581, allocations: 14.39 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.6583, allocations: 11.95 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/0.6583, allocations: 3.984 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.6583, allocations: 4 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.379e-05/0.6584, allocations: 92.91 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.25e-07/0.6584, allocations: 0.9688 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003898/0.6588, allocations: 32 kB / 1.466 GB, free: 278.4 MB / 0.8542 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.0003451/0.6592, allocations: 165.5 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002861/0.6595, allocations: 75.89 kB / 1.466 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.6595, allocations: 1.156 kB / 1.466 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.6596, allocations: 36.92 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.66, allocations: 11.98 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004028/0.6604, allocations: 205.8 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001288/0.6605, allocations: 0.6943 MB / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.343e-05/0.6606, allocations: 5.188 kB / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.758e-05/0.6606, allocations: 7.438 kB / 1.467 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of SimCode: time 1.566e-06/0.6606, allocations: 0 / 1.467 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.004525/0.6652, allocations: 1.33 MB / 1.469 GB, free: 275.9 MB / 0.8542 GB