Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 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.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001702/0.001702, 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.002501/0.002501, allocations: 196.7 kB / 16.14 MB, free: 6.695 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.448/1.448, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.87/2.87, allocations: 472.6 MB / 0.7447 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 66.28 kB / 0.9114 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3568, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.003311/0.3601, allocations: 1.549 MB / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.3615, allocations: 0.7439 MB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.131e-05/0.3615, allocations: 0 / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.26e-05/0.3616, allocations: 0 / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.352e-05/0.3617, allocations: 19.86 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000515/0.3622, allocations: 91.78 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.3623, allocations: 67.78 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.806e-05/0.3624, allocations: 11.97 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.767e-05/0.3625, allocations: 39.84 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.43e-05/0.3626, allocations: 23.91 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.3626, allocations: 8 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002244/0.3628, allocations: 87.91 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.306e-05/0.3629, allocations: 15.92 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.856e-05/0.3629, allocations: 27.86 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002528/0.3632, allocations: 135.8 kB / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3632, allocations: 0 / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3632, allocations: 0 / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.3632, allocations: 0 / 1.07 GB, free: 8.027 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.0007097/0.3639, allocations: 446.7 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.364, allocations: 8.031 kB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.969e-05/0.364, allocations: 12.78 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.3642, allocations: 180.2 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.3642, allocations: 4.375 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.3642, allocations: 4.375 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.3645, allocations: 77.95 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.3645, allocations: 3.938 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.3645, allocations: 0 / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.3645, allocations: 0 / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.3647, allocations: 43.97 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005191/0.3652, allocations: 288.8 kB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001464/0.3653, allocations: 46.55 kB / 1.071 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.331e-05/0.3654, allocations: 40.91 kB / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.3655, allocations: 0 / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002147/0.3657, allocations: 83.44 kB / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.3657, allocations: 0 / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.000412/0.3661, allocations: 129.5 kB / 1.072 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.3662, allocations: 55.41 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.3663, allocations: 129.7 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.3663, allocations: 33.64 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.751e-05/0.3664, allocations: 84.14 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.3664, allocations: 23.73 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.695e-05/0.3664, allocations: 29.66 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.3666, allocations: 322.8 kB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.407e-05/0.3667, allocations: 23.98 kB / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.238e-05/0.3668, allocations: 65.08 kB / 1.072 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/0.3669, allocations: 89.06 kB / 1.072 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.3669, allocations: 0 / 1.072 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00023/0.3672, allocations: 113.4 kB / 1.072 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.3672, allocations: 4 kB / 1.072 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.3672, allocations: 0 / 1.072 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.3672, allocations: 4 kB / 1.072 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.3673, allocations: 24.08 kB / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.3674, allocations: 4 kB / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.33e-05/0.3674, allocations: 4 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.3674, allocations: 7.984 kB / 1.073 GB, free: 5.418 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 9.652e-05/0.3675, allocations: 121.7 kB / 1.073 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.176e-05/0.3676, allocations: 11.91 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.764e-05/0.3676, allocations: 8.375 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.3676, allocations: 4 kB / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.3676, allocations: 7.938 kB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3676, allocations: 0 / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004713/0.3681, allocations: 378.5 kB / 1.073 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3681, allocations: 0 / 1.073 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.463e-05/0.3682, allocations: 7.984 kB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3682, allocations: 0 / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.3682, allocations: 0 / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.3682, allocations: 0 / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.3682, allocations: 7.938 kB / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002928/0.3685, allocations: 219.4 kB / 1.073 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.858e-05/0.3686, allocations: 81.02 kB / 1.073 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.3686, allocations: 0 / 1.073 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.783e-05/0.3687, allocations: 11.98 kB / 1.073 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.634e-05/0.3688, allocations: 7.938 kB / 1.073 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.3688, allocations: 3.984 kB / 1.073 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.646e-05/0.3689, allocations: 95.28 kB / 1.073 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.663e-06/0.3689, allocations: 0 / 1.073 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003224/0.3692, allocations: 43.92 kB / 1.073 GB, free: 4.328 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.0003587/0.3696, allocations: 160.1 kB / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002436/0.3698, allocations: 79.83 kB / 1.074 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3698, allocations: 0 / 1.074 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.3699, allocations: 31.98 kB / 1.074 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.3702, allocations: 8 kB / 1.074 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004356/0.3707, allocations: 195 kB / 1.074 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.3709, allocations: 0.6955 MB / 1.075 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.614e-05/0.371, allocations: 4 kB / 1.075 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.553e-05/0.371, allocations: 11.44 kB / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of SimCode: time 5.01e-07/0.371, allocations: 0 / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of Templates: time 0.004088/0.3751, allocations: 1.375 MB / 1.076 GB, free: 1.734 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1)