Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001326/0.001326, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001572/0.001572, allocations: 196.2 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.1 MB / 222 MB, free: 4.98 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.526/1.526, allocations: 251.6 MB / 0.5088 GB, free: 3.281 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 59.92 kB / 0.6216 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4451/0.4466, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002919/0.4495, allocations: 1.546 MB / 0.7253 GB, free: 11.6 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001451/0.451, allocations: 0.7835 MB / 0.7261 GB, free: 10.81 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.78e-05/0.4511, allocations: 4 kB / 0.7261 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.959e-05/0.4512, allocations: 3.938 kB / 0.7261 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.106e-05/0.4513, allocations: 11.91 kB / 0.7261 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005806/0.4518, allocations: 95.78 kB / 0.7262 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.454e-05/0.452, allocations: 67.78 kB / 0.7262 GB, free: 10.63 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.4521, allocations: 15.98 kB / 0.7263 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.851e-05/0.4522, allocations: 23.92 kB / 0.7263 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.424e-05/0.4522, allocations: 39.83 kB / 0.7263 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.4523, allocations: 0 / 0.7263 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001863/0.4525, allocations: 91.84 kB / 0.7264 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.624e-05/0.4525, allocations: 11.92 kB / 0.7264 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.15e-05/0.4526, allocations: 35.86 kB / 0.7265 GB, free: 10.41 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.4528, allocations: 129.7 kB / 0.7266 GB, free: 10.29 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.4528, allocations: 3.938 kB / 0.7266 GB, free: 10.29 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.062e-06/0.4528, allocations: 0 / 0.7266 GB, free: 10.29 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.4528, allocations: 0 / 0.7266 GB, free: 10.29 MB / 0.545 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.0006309/0.4535, allocations: 450.6 kB / 0.727 GB, free: 9.785 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.4535, allocations: 8.031 kB / 0.727 GB, free: 9.777 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.775e-05/0.4536, allocations: 8.844 kB / 0.727 GB, free: 9.77 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.4537, allocations: 172.3 kB / 0.7272 GB, free: 9.562 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.845e-05/0.4537, allocations: 8.375 kB / 0.7272 GB, free: 9.555 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.4538, allocations: 12.36 kB / 0.7272 GB, free: 9.543 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/0.454, allocations: 69.95 kB / 0.7273 GB, free: 9.469 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.454, allocations: 0 / 0.7273 GB, free: 9.469 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.454, allocations: 7.938 kB / 0.7273 GB, free: 9.461 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.454, allocations: 0 / 0.7273 GB, free: 9.461 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.4542, allocations: 35.97 kB / 0.7273 GB, free: 9.426 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004884/0.4547, allocations: 300.7 kB / 0.7276 GB, free: 9.082 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.4548, allocations: 54.55 kB / 0.7277 GB, free: 9.02 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.535e-05/0.4549, allocations: 28.97 kB / 0.7277 GB, free: 8.988 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.4549, allocations: 0 / 0.7277 GB, free: 8.988 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002249/0.4552, allocations: 87.36 kB / 0.7278 GB, free: 8.891 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 2.625e-06/0.4552, allocations: 0 / 0.7278 GB, free: 8.891 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0003916/0.4556, allocations: 141.5 kB / 0.7279 GB, free: 8.746 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.4556, allocations: 55.41 kB / 0.728 GB, free: 8.68 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.661e-05/0.4557, allocations: 125.8 kB / 0.7281 GB, free: 8.547 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.4557, allocations: 25.7 kB / 0.7281 GB, free: 8.516 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.166e-05/0.4558, allocations: 92.14 kB / 0.7282 GB, free: 8.422 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.4558, allocations: 19.73 kB / 0.7282 GB, free: 8.402 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.982e-05/0.4559, allocations: 25.72 kB / 0.7282 GB, free: 8.371 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.533e-05/0.456, allocations: 326.8 kB / 0.7285 GB, free: 8.043 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.847e-05/0.456, allocations: 19.98 kB / 0.7286 GB, free: 8.023 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.004e-05/0.4561, allocations: 65.06 kB / 0.7286 GB, free: 7.941 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.4563, allocations: 89.08 kB / 0.7287 GB, free: 7.836 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.4563, allocations: 0 / 0.7287 GB, free: 7.836 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002114/0.4565, allocations: 117.4 kB / 0.7288 GB, free: 7.715 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.4565, allocations: 4 kB / 0.7288 GB, free: 7.711 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.4566, allocations: 4 kB / 0.7288 GB, free: 7.707 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.4566, allocations: 0 / 0.7288 GB, free: 7.707 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.871e-05/0.4567, allocations: 15.98 kB / 0.7288 GB, free: 7.691 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.4567, allocations: 7.875 kB / 0.7289 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.11e-05/0.4568, allocations: 11.89 kB / 0.7289 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.4568, allocations: 12.16 kB / 0.7289 GB, free: 7.66 MB / 0.545 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 8.575e-05/0.4569, allocations: 123.5 kB / 0.729 GB, free: 7.531 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.444e-05/0.4569, allocations: 0 / 0.729 GB, free: 7.531 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.034e-05/0.4569, allocations: 16.31 kB / 0.729 GB, free: 7.516 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4569, allocations: 0 / 0.729 GB, free: 7.516 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.4569, allocations: 0 / 0.729 GB, free: 7.516 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.4569, allocations: 0 / 0.729 GB, free: 7.516 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004401/0.4574, allocations: 386.3 kB / 0.7294 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.197e-06/0.4574, allocations: 3.984 kB / 0.7294 GB, free: 7.078 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.914e-05/0.4575, allocations: 4 kB / 0.7294 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4575, allocations: 0 / 0.7294 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.4575, allocations: 0 / 0.7294 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.4575, allocations: 4 kB / 0.7294 GB, free: 7.07 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.4575, allocations: 3.938 kB / 0.7294 GB, free: 7.066 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002758/0.4578, allocations: 215.8 kB / 0.7296 GB, free: 6.84 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.864e-05/0.4578, allocations: 84.95 kB / 0.7297 GB, free: 6.738 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.4578, allocations: 4 kB / 0.7297 GB, free: 6.734 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.073e-05/0.4579, allocations: 3.984 kB / 0.7297 GB, free: 6.73 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.412e-05/0.458, allocations: 7.938 kB / 0.7297 GB, free: 6.723 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.458, allocations: 7.984 kB / 0.7297 GB, free: 6.715 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.34e-05/0.4581, allocations: 91.27 kB / 0.7298 GB, free: 6.625 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4581, allocations: 0 / 0.7298 GB, free: 6.625 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002948/0.4584, allocations: 36 kB / 0.7298 GB, free: 6.59 MB / 0.545 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.0003037/0.4587, allocations: 174.4 kB / 0.73 GB, free: 6.426 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002155/0.4589, allocations: 71.88 kB / 0.7301 GB, free: 6.355 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.4589, allocations: 320 / 0.7301 GB, free: 6.355 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.953e-05/0.459, allocations: 39.92 kB / 0.7301 GB, free: 6.316 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.4593, allocations: 11.98 kB / 0.7301 GB, free: 6.305 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003892/0.4597, allocations: 198.6 kB / 0.7303 GB, free: 6.082 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.4599, allocations: 0.6926 MB / 0.731 GB, free: 5.363 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.055e-05/0.46, allocations: 0 / 0.731 GB, free: 5.363 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.275e-05/0.46, allocations: 11.44 kB / 0.731 GB, free: 5.355 MB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.46, allocations: 0 / 0.731 GB, free: 5.355 MB / 0.545 GB Notification: Performance of Templates: time 0.003708/0.4637, allocations: 1.372 MB / 0.7323 GB, free: 3.996 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1)