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.001276/0.001276, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001549/0.001549, allocations: 192.9 kB / 16.13 MB, free: 6.699 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.43/1.43, allocations: 205.1 MB / 222 MB, free: 4.996 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.48/1.48, allocations: 251.6 MB / 0.5088 GB, free: 3.355 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.001208/0.001208, allocations: 67.19 kB / 0.6216 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4846/0.4858, allocations: 104.7 MB / 0.7238 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002766/0.4886, allocations: 1.55 MB / 0.7253 GB, free: 11.58 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001205/0.4898, allocations: 0.7758 MB / 0.7261 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.575e-05/0.4899, allocations: 0 / 0.7261 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.672e-05/0.4899, allocations: 3.938 kB / 0.7261 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.279e-05/0.49, allocations: 15.86 kB / 0.7261 GB, free: 10.78 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004415/0.4904, allocations: 103.8 kB / 0.7262 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.822e-05/0.4905, allocations: 67.78 kB / 0.7263 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.796e-05/0.4906, allocations: 7.984 kB / 0.7263 GB, free: 10.6 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.218e-05/0.4907, allocations: 27.92 kB / 0.7263 GB, free: 10.57 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.927e-05/0.4908, allocations: 31.84 kB / 0.7263 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.4908, allocations: 4 kB / 0.7263 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000175/0.491, allocations: 91.84 kB / 0.7264 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.323e-05/0.491, allocations: 15.92 kB / 0.7264 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.974e-05/0.4911, allocations: 35.84 kB / 0.7265 GB, free: 10.4 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.4913, allocations: 133.7 kB / 0.7266 GB, free: 10.27 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.4913, allocations: 0 / 0.7266 GB, free: 10.27 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.41e-07/0.4913, allocations: 0 / 0.7266 GB, free: 10.27 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.4913, allocations: 0 / 0.7266 GB, free: 10.27 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.0005547/0.4919, allocations: 446.6 kB / 0.727 GB, free: 9.773 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.4919, allocations: 8.031 kB / 0.727 GB, free: 9.766 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.104e-05/0.492, allocations: 8.844 kB / 0.727 GB, free: 9.758 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.4921, allocations: 180.2 kB / 0.7272 GB, free: 9.543 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.4921, allocations: 4.375 kB / 0.7272 GB, free: 9.539 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.4921, allocations: 4.375 kB / 0.7272 GB, free: 9.535 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.4923, allocations: 69.97 kB / 0.7273 GB, free: 9.461 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.4923, allocations: 0 / 0.7273 GB, free: 9.461 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.4924, allocations: 7.938 kB / 0.7273 GB, free: 9.453 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.4924, allocations: 0 / 0.7273 GB, free: 9.453 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001404/0.4925, allocations: 43.97 kB / 0.7273 GB, free: 9.41 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004834/0.493, allocations: 308.6 kB / 0.7276 GB, free: 9.059 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.4932, allocations: 46.55 kB / 0.7277 GB, free: 9.004 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.371e-05/0.4933, allocations: 36.91 kB / 0.7277 GB, free: 8.965 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.4933, allocations: 0 / 0.7277 GB, free: 8.965 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002051/0.4935, allocations: 83.38 kB / 0.7278 GB, free: 8.871 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.4935, allocations: 0 / 0.7278 GB, free: 8.871 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0003999/0.4939, allocations: 133.5 kB / 0.7279 GB, free: 8.734 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.494, allocations: 59.39 kB / 0.728 GB, free: 8.664 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.943e-05/0.4941, allocations: 117.8 kB / 0.7281 GB, free: 8.539 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.4941, allocations: 33.7 kB / 0.7281 GB, free: 8.5 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.774e-05/0.4942, allocations: 92.2 kB / 0.7282 GB, free: 8.406 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.4942, allocations: 23.73 kB / 0.7282 GB, free: 8.383 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.555e-05/0.4942, allocations: 29.7 kB / 0.7283 GB, free: 8.348 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.4943, allocations: 314.8 kB / 0.7286 GB, free: 8.031 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.558e-05/0.4944, allocations: 27.98 kB / 0.7286 GB, free: 8.004 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.897e-05/0.4945, allocations: 65.12 kB / 0.7286 GB, free: 7.922 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.4947, allocations: 85.02 kB / 0.7287 GB, free: 7.82 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.4947, allocations: 4 kB / 0.7287 GB, free: 7.816 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002317/0.4949, allocations: 113.4 kB / 0.7288 GB, free: 7.699 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.495, allocations: 4 kB / 0.7288 GB, free: 7.695 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.495, allocations: 3.984 kB / 0.7288 GB, free: 7.691 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.495, allocations: 4 kB / 0.7288 GB, free: 7.688 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.992e-05/0.4951, allocations: 12 kB / 0.7289 GB, free: 7.676 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.4951, allocations: 4 kB / 0.7289 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.664e-05/0.4952, allocations: 16.05 kB / 0.7289 GB, free: 7.656 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.4952, allocations: 4 kB / 0.7289 GB, free: 7.652 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.508e-05/0.4953, allocations: 121.7 kB / 0.729 GB, free: 7.523 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.004e-05/0.4953, allocations: 4 kB / 0.729 GB, free: 7.52 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.7e-05/0.4954, allocations: 12.31 kB / 0.729 GB, free: 7.508 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.4954, allocations: 4 kB / 0.729 GB, free: 7.504 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.4954, allocations: 3.984 kB / 0.729 GB, free: 7.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.4954, allocations: 0 / 0.729 GB, free: 7.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004547/0.4959, allocations: 386.3 kB / 0.7294 GB, free: 7.066 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4959, allocations: 0 / 0.7294 GB, free: 7.066 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.239e-05/0.4959, allocations: 8 kB / 0.7294 GB, free: 7.059 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.496, allocations: 0 / 0.7294 GB, free: 7.059 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.496, allocations: 3.984 kB / 0.7294 GB, free: 7.055 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.496, allocations: 0 / 0.7294 GB, free: 7.055 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.496, allocations: 3.938 kB / 0.7294 GB, free: 7.051 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002961/0.4963, allocations: 207.8 kB / 0.7296 GB, free: 6.832 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.591e-05/0.4963, allocations: 84.95 kB / 0.7297 GB, free: 6.73 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.4964, allocations: 3.984 kB / 0.7297 GB, free: 6.727 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.895e-05/0.4965, allocations: 8 kB / 0.7297 GB, free: 6.719 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.4965, allocations: 19.86 kB / 0.7297 GB, free: 6.699 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.4965, allocations: 0 / 0.7297 GB, free: 6.699 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.199e-05/0.4966, allocations: 95.27 kB / 0.7298 GB, free: 6.605 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4966, allocations: 0 / 0.7298 GB, free: 6.605 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003078/0.4969, allocations: 40 kB / 0.7298 GB, free: 6.566 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.0003266/0.4973, allocations: 160.9 kB / 0.73 GB, free: 6.418 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002398/0.4975, allocations: 72.14 kB / 0.7301 GB, free: 6.348 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4975, allocations: 4.062 kB / 0.7301 GB, free: 6.344 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.4976, allocations: 31.98 kB / 0.7301 GB, free: 6.312 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.4979, allocations: 7.984 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.0004286/0.4984, allocations: 214.5 kB / 0.7303 GB, free: 6.066 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.4987, allocations: 0.6887 MB / 0.731 GB, free: 5.352 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.398e-05/0.4987, allocations: 4 kB / 0.731 GB, free: 5.348 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.375e-05/0.4988, allocations: 19.36 kB / 0.731 GB, free: 5.332 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.4988, allocations: 0 / 0.731 GB, free: 5.332 MB / 0.545 GB Notification: Performance of Templates: time 0.003914/0.5027, allocations: 1.356 MB / 0.7323 GB, free: 3.98 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile (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)