Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001073/0.001073, allocations: 97.72 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.01046/0.01046, allocations: 170 kB / 16.27 MB, free: 6.652 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.474/1.474, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.93/2.93, allocations: 473.4 MB / 0.7469 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003819/0.0003819, allocations: 13.27 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.3759, allocations: 162.2 MB / 1.074 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.001578/0.3775, allocations: 1.215 MB / 1.075 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001342/0.3789, allocations: 0.7207 MB / 1.076 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.772e-05/0.3789, allocations: 0 / 1.076 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.399e-05/0.3789, allocations: 3.984 kB / 1.076 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.501e-05/0.379, allocations: 11.86 kB / 1.076 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005044/0.3795, allocations: 95.77 kB / 1.076 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.3797, allocations: 71.78 kB / 1.076 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.881e-05/0.3798, allocations: 11.98 kB / 1.076 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.8e-05/0.3798, allocations: 23.92 kB / 1.076 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.573e-05/0.3799, allocations: 39.83 kB / 1.076 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.3799, allocations: 0 / 1.076 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001736/0.3801, allocations: 91.84 kB / 1.076 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.088e-05/0.3802, allocations: 11.92 kB / 1.076 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.418e-05/0.3802, allocations: 57.56 kB / 1.076 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002401/0.3805, allocations: 127.9 kB / 1.077 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3805, allocations: 0 / 1.077 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3805, allocations: 4 kB / 1.077 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.3805, allocations: 3.938 kB / 1.077 GB, free: 5.109 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.0006181/0.3811, allocations: 434.7 kB / 1.077 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.3812, allocations: 12.03 kB / 1.077 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.644e-05/0.3812, allocations: 8.844 kB / 1.077 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.3813, allocations: 168.3 kB / 1.077 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.909e-05/0.3814, allocations: 4.375 kB / 1.077 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.3814, allocations: 4.375 kB / 1.077 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.3816, allocations: 81.91 kB / 1.077 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.3816, allocations: 0 / 1.077 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.3816, allocations: 4 kB / 1.077 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.3817, allocations: 0 / 1.077 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.3818, allocations: 47.89 kB / 1.077 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004715/0.3823, allocations: 304.7 kB / 1.078 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.3824, allocations: 50.5 kB / 1.078 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.371e-05/0.3825, allocations: 40.97 kB / 1.078 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.3826, allocations: 3.984 kB / 1.078 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001907/0.3828, allocations: 79.38 kB / 1.078 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.3828, allocations: 0 / 1.078 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004062/0.3832, allocations: 145.6 kB / 1.078 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.3832, allocations: 67.33 kB / 1.078 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.427e-05/0.3833, allocations: 113.8 kB / 1.078 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.3834, allocations: 29.7 kB / 1.078 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.931e-05/0.3834, allocations: 88.12 kB / 1.078 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.3834, allocations: 19.75 kB / 1.078 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-05/0.3835, allocations: 17.72 kB / 1.078 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.3836, allocations: 330.8 kB / 1.079 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.421e-05/0.3837, allocations: 23.98 kB / 1.079 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.19e-05/0.3838, allocations: 61.12 kB / 1.079 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/0.3839, allocations: 97.08 kB / 1.079 GB, free: 2.652 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.384, allocations: 0 / 1.079 GB, free: 2.652 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002358/0.3842, allocations: 121.4 kB / 1.079 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.3842, allocations: 5.094 kB / 1.079 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.3842, allocations: 4 kB / 1.079 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.3843, allocations: 0 / 1.079 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.28e-05/0.3843, allocations: 19.92 kB / 1.079 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.3844, allocations: 4.156 kB / 1.079 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.033e-05/0.3844, allocations: 15.89 kB / 1.079 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.3844, allocations: 8 kB / 1.079 GB, free: 2.473 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.221e-05/0.3845, allocations: 129.6 kB / 1.079 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.491e-05/0.3846, allocations: 8 kB / 1.079 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.469e-05/0.3846, allocations: 8.375 kB / 1.079 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.3846, allocations: 4 kB / 1.079 GB, free: 2.316 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3846, allocations: 7.938 kB / 1.079 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.3846, allocations: 0 / 1.079 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004339/0.3851, allocations: 382.4 kB / 1.079 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.3851, allocations: 3.984 kB / 1.079 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.867e-05/0.3851, allocations: 4 kB / 1.079 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.3851, allocations: 3.938 kB / 1.079 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.3851, allocations: 8 kB / 1.079 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3851, allocations: 0 / 1.079 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3852, allocations: 3.938 kB / 1.079 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002693/0.3854, allocations: 211.5 kB / 1.08 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.398e-05/0.3855, allocations: 81.02 kB / 1.08 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.3855, allocations: 4 kB / 1.08 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.773e-05/0.3856, allocations: 7.984 kB / 1.08 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.3856, allocations: 7.938 kB / 1.08 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.3856, allocations: 7.984 kB / 1.08 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.597e-05/0.3857, allocations: 91.27 kB / 1.08 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3857, allocations: 0 / 1.08 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002774/0.386, allocations: 36 kB / 1.08 GB, free: 1.383 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.0003055/0.3863, allocations: 173.1 kB / 1.08 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002161/0.3865, allocations: 79.83 kB / 1.08 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.3865, allocations: 0 / 1.08 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001575/0.3867, allocations: 44.22 kB / 1.08 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.387, allocations: 13.88 kB / 1.08 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000378/0.3874, allocations: 215 kB / 1.08 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.3876, allocations: 0.6926 MB / 1.081 GB, free: 132 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.987e-05/0.3877, allocations: 0 / 1.081 GB, free: 132 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.462e-05/0.3877, allocations: 15.42 kB / 1.081 GB, free: 116 kB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.3877, allocations: 0 / 1.081 GB, free: 116 kB / 0.8262 GB Notification: Performance of Templates: time 0.003883/0.3916, allocations: 1.344 MB / 1.082 GB, free: 14.77 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile (rm -f Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1)