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.001179/0.001179, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.00125/0.00125, allocations: 196.3 kB / 16.14 MB, free: 6.715 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.459/1.459, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.133/3.133, allocations: 472.6 MB / 0.7447 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 59.8 kB / 0.9113 GB, free: 33.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3503, allocations: 159.9 MB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002831/0.3532, allocations: 1.552 MB / 1.069 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001195/0.3544, allocations: 0.7439 MB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.399e-05/0.3544, allocations: 0 / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.535e-05/0.3545, allocations: 3.984 kB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.777e-05/0.3545, allocations: 7.875 kB / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004818/0.355, allocations: 99.77 kB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.643e-05/0.3551, allocations: 63.84 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.847e-05/0.3552, allocations: 15.98 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.249e-05/0.3553, allocations: 31.84 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.151e-05/0.3554, allocations: 35.84 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.3554, allocations: 4 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001769/0.3556, allocations: 83.91 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.608e-05/0.3556, allocations: 15.92 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.164e-05/0.3557, allocations: 27.86 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002297/0.3559, allocations: 139.8 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3559, allocations: 0 / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.022e-06/0.3559, allocations: 4 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.356, allocations: 0 / 1.07 GB, free: 8.129 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.0006498/0.3566, allocations: 438.7 kB / 1.071 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.3567, allocations: 12.03 kB / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.512e-05/0.3567, allocations: 8.844 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.3568, allocations: 180.2 kB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.3569, allocations: 384 / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.3569, allocations: 8.375 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002041/0.3571, allocations: 77.95 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.3571, allocations: 7.875 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.3571, allocations: 0 / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.371e-06/0.3572, allocations: 0 / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.3573, allocations: 35.97 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005612/0.3579, allocations: 300.8 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.358, allocations: 50.5 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.858e-05/0.3581, allocations: 32.97 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.3581, allocations: 3.938 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002814/0.3584, allocations: 79.44 kB / 1.071 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.3584, allocations: 4 kB / 1.071 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.000426/0.3589, allocations: 141.5 kB / 1.072 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.631e-05/0.3589, allocations: 51.41 kB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.937e-05/0.359, allocations: 121.8 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.3591, allocations: 29.7 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.811e-05/0.3591, allocations: 96.06 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.3592, allocations: 19.75 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.705e-05/0.3592, allocations: 29.7 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.3593, allocations: 318.8 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.121e-05/0.3594, allocations: 19.98 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.3595, allocations: 65.12 kB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.3597, allocations: 89.06 kB / 1.072 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.3597, allocations: 4 kB / 1.072 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002303/0.3599, allocations: 113.5 kB / 1.072 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.3599, allocations: 8 kB / 1.072 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.36, allocations: 0 / 1.072 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.36, allocations: 4 kB / 1.073 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.299e-05/0.3601, allocations: 15.88 kB / 1.073 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.3601, allocations: 7.984 kB / 1.073 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.469e-05/0.3602, allocations: 8 kB / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.3602, allocations: 4 kB / 1.073 GB, free: 5.52 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.346e-05/0.3603, allocations: 125.8 kB / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.878e-05/0.3603, allocations: 7.906 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.894e-05/0.3604, allocations: 12.36 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-06/0.3604, allocations: 0 / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.3604, allocations: 4 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.3604, allocations: 3.938 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004379/0.3608, allocations: 370.5 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3608, allocations: 4 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.771e-05/0.3609, allocations: 4 kB / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.953e-05/0.361, allocations: 4 kB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.361, allocations: 3.984 kB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.361, allocations: 400 / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.361, allocations: 3.938 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002973/0.3613, allocations: 215.3 kB / 1.073 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.176e-05/0.3614, allocations: 89 kB / 1.073 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.3614, allocations: 4 kB / 1.073 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.354e-05/0.3615, allocations: 4 kB / 1.073 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.3615, allocations: 19.89 kB / 1.073 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.3615, allocations: 0 / 1.073 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.339e-05/0.3616, allocations: 95.27 kB / 1.073 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3616, allocations: 0 / 1.073 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002941/0.3619, allocations: 36 kB / 1.073 GB, free: 4.434 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.0003081/0.3622, allocations: 163.4 kB / 1.074 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002264/0.3625, allocations: 71.89 kB / 1.074 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3625, allocations: 3.938 kB / 1.074 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.3626, allocations: 31.98 kB / 1.074 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.3628, allocations: 16.3 kB / 1.074 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004122/0.3633, allocations: 186.7 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.3635, allocations: 0.6932 MB / 1.075 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.555e-05/0.3636, allocations: 15.92 kB / 1.075 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.836e-05/0.3636, allocations: 11.44 kB / 1.075 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.3636, allocations: 0 / 1.075 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of Templates: time 0.004023/0.3677, allocations: 1.35 MB / 1.076 GB, free: 1.855 MB / 0.8262 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)