Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0008331/0.0008332, 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.00556/0.00556, allocations: 170.7 kB / 16.27 MB, free: 6.648 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.432/1.432, allocations: 205.4 MB / 222.4 MB, free: 5.801 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.562/1.562, allocations: 252 MB / 0.5105 GB, free: 4.672 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.0005528/0.0005526, allocations: 23.98 kB / 0.6249 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5194/0.52, allocations: 106.3 MB / 0.7287 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.001833/0.5219, allocations: 1.215 MB / 0.7299 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.5231, allocations: 0.7602 MB / 0.7306 GB, free: 9.258 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.54e-05/0.5232, allocations: 8 kB / 0.7307 GB, free: 9.25 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.617e-05/0.5232, allocations: 0 / 0.7307 GB, free: 9.25 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.103e-05/0.5233, allocations: 7.875 kB / 0.7307 GB, free: 9.242 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004683/0.5237, allocations: 99.77 kB / 0.7308 GB, free: 9.145 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.628e-05/0.5238, allocations: 67.78 kB / 0.7308 GB, free: 9.078 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.995e-05/0.524, allocations: 11.98 kB / 0.7308 GB, free: 9.066 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.764e-05/0.524, allocations: 35.84 kB / 0.7309 GB, free: 9.031 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.562e-05/0.5241, allocations: 31.84 kB / 0.7309 GB, free: 9 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.5241, allocations: 4 kB / 0.7309 GB, free: 8.996 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000168/0.5243, allocations: 83.91 kB / 0.731 GB, free: 8.914 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.217e-05/0.5243, allocations: 11.94 kB / 0.731 GB, free: 8.902 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.079e-05/0.5244, allocations: 53.56 kB / 0.731 GB, free: 8.844 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.5246, allocations: 137.6 kB / 0.7312 GB, free: 8.711 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.5246, allocations: 0 / 0.7312 GB, free: 8.711 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.332e-06/0.5246, allocations: 0 / 0.7312 GB, free: 8.711 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.283e-06/0.5247, allocations: 0 / 0.7312 GB, free: 8.711 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.0005753/0.5252, allocations: 434.7 kB / 0.7316 GB, free: 8.227 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.5253, allocations: 8.031 kB / 0.7316 GB, free: 8.219 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.109e-05/0.5253, allocations: 12.84 kB / 0.7316 GB, free: 8.207 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.5255, allocations: 180.2 kB / 0.7318 GB, free: 7.992 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/0.5255, allocations: 4.375 kB / 0.7318 GB, free: 7.988 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.5255, allocations: 8.312 kB / 0.7318 GB, free: 7.98 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/0.5258, allocations: 77.97 kB / 0.7319 GB, free: 7.898 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.5258, allocations: 0 / 0.7319 GB, free: 7.898 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.5258, allocations: 7.922 kB / 0.7319 GB, free: 7.891 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.5258, allocations: 0 / 0.7319 GB, free: 7.891 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.5259, allocations: 43.97 kB / 0.7319 GB, free: 7.848 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005012/0.5265, allocations: 300.7 kB / 0.7322 GB, free: 7.504 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.5266, allocations: 46.56 kB / 0.7322 GB, free: 7.449 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.5267, allocations: 36.97 kB / 0.7323 GB, free: 7.41 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.5267, allocations: 7.938 kB / 0.7323 GB, free: 7.402 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000202/0.527, allocations: 83.44 kB / 0.7324 GB, free: 7.309 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.527, allocations: 3.938 kB / 0.7324 GB, free: 7.305 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004055/0.5274, allocations: 149.6 kB / 0.7325 GB, free: 7.152 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.5274, allocations: 55.41 kB / 0.7326 GB, free: 7.086 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.5275, allocations: 121.8 kB / 0.7327 GB, free: 6.957 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.5276, allocations: 29.69 kB / 0.7327 GB, free: 6.922 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.47e-05/0.5276, allocations: 88.14 kB / 0.7328 GB, free: 6.832 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.5277, allocations: 23.69 kB / 0.7328 GB, free: 6.809 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/0.5277, allocations: 21.7 kB / 0.7328 GB, free: 6.781 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.5278, allocations: 318.8 kB / 0.7331 GB, free: 6.461 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.206e-05/0.5279, allocations: 27.98 kB / 0.7332 GB, free: 6.434 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.166e-05/0.528, allocations: 65.12 kB / 0.7332 GB, free: 6.352 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.5282, allocations: 93.08 kB / 0.7333 GB, free: 6.242 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.5282, allocations: 3.984 kB / 0.7333 GB, free: 6.238 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002245/0.5284, allocations: 125.4 kB / 0.7334 GB, free: 6.109 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.5284, allocations: 4 kB / 0.7335 GB, free: 6.105 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.5284, allocations: 0 / 0.7335 GB, free: 6.105 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.5285, allocations: 4 kB / 0.7335 GB, free: 6.102 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.202e-05/0.5285, allocations: 15.94 kB / 0.7335 GB, free: 6.086 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.5286, allocations: 0 / 0.7335 GB, free: 6.086 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.353e-05/0.5286, allocations: 16.14 kB / 0.7335 GB, free: 6.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.5287, allocations: 12 kB / 0.7335 GB, free: 6.059 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 9.893e-05/0.5288, allocations: 119.5 kB / 0.7336 GB, free: 5.934 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.606e-05/0.5288, allocations: 7.906 kB / 0.7336 GB, free: 5.926 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.793e-05/0.5288, allocations: 12.36 kB / 0.7336 GB, free: 5.914 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.5288, allocations: 0 / 0.7336 GB, free: 5.914 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.5288, allocations: 0 / 0.7336 GB, free: 5.914 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.5288, allocations: 4 kB / 0.7336 GB, free: 5.91 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004621/0.5293, allocations: 390.3 kB / 0.734 GB, free: 5.473 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.5293, allocations: 0 / 0.734 GB, free: 5.473 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.689e-05/0.5294, allocations: 4 kB / 0.734 GB, free: 5.469 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.5294, allocations: 0 / 0.734 GB, free: 5.469 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.5294, allocations: 7.922 kB / 0.734 GB, free: 5.461 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.5294, allocations: 4 kB / 0.734 GB, free: 5.457 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.5294, allocations: 7.938 kB / 0.734 GB, free: 5.449 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003115/0.5297, allocations: 215.3 kB / 0.7342 GB, free: 5.223 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.126e-05/0.5298, allocations: 88.95 kB / 0.7343 GB, free: 5.117 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.5298, allocations: 3.984 kB / 0.7343 GB, free: 5.113 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.685e-05/0.5299, allocations: 8 kB / 0.7343 GB, free: 5.105 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.346e-05/0.53, allocations: 11.92 kB / 0.7343 GB, free: 5.094 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.53, allocations: 0 / 0.7343 GB, free: 5.094 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.134e-05/0.5301, allocations: 99.86 kB / 0.7344 GB, free: 4.996 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5301, allocations: 0 / 0.7344 GB, free: 4.996 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002884/0.5303, allocations: 36 kB / 0.7345 GB, free: 4.961 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.0003517/0.5307, allocations: 159.6 kB / 0.7346 GB, free: 4.812 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002231/0.5309, allocations: 71.89 kB / 0.7347 GB, free: 4.742 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.531, allocations: 0 / 0.7347 GB, free: 4.742 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.5311, allocations: 40.7 kB / 0.7347 GB, free: 4.703 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.5313, allocations: 15.98 kB / 0.7347 GB, free: 4.688 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004215/0.5318, allocations: 219 kB / 0.735 GB, free: 4.445 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.532, allocations: 0.6888 MB / 0.7356 GB, free: 3.73 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.499e-05/0.5321, allocations: 7.984 kB / 0.7356 GB, free: 3.723 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.082e-05/0.5321, allocations: 15.38 kB / 0.7356 GB, free: 3.711 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.5321, allocations: 0 / 0.7356 GB, free: 3.711 MB / 0.545 GB Notification: Performance of Templates: time 0.003903/0.536, allocations: 1.353 MB / 0.737 GB, free: 2.367 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) Environment - environmentSimulation: