Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001775/0.001782, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002146/0.002146, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.386/1.386, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.761/2.761, allocations: 472.6 MB / 0.7451 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 67.31 kB / 0.912 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3766/0.3785, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002821/0.3814, allocations: 1.485 MB / 1.07 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001272/0.3827, allocations: 0.7321 MB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.527e-05/0.3828, allocations: 4 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.163e-05/0.3828, allocations: 3.938 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.434e-05/0.3829, allocations: 15.86 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006446/0.3836, allocations: 119.6 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.3837, allocations: 71.78 kB / 1.071 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.484e-05/0.3838, allocations: 15.97 kB / 1.071 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.574e-05/0.3839, allocations: 39.84 kB / 1.071 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.417e-05/0.384, allocations: 31.84 kB / 1.071 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.384, allocations: 4 kB / 1.071 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002132/0.3842, allocations: 95.91 kB / 1.071 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.994e-05/0.3842, allocations: 15.92 kB / 1.071 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.555e-05/0.3843, allocations: 31.84 kB / 1.071 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002546/0.3846, allocations: 143.8 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3846, allocations: 0 / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3846, allocations: 0 / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.3846, allocations: 0 / 1.071 GB, free: 7.621 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.0006285/0.3852, allocations: 442.7 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.3853, allocations: 8.031 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.59e-05/0.3853, allocations: 8.844 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.3855, allocations: 172.2 kB / 1.072 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.3855, allocations: 8.375 kB / 1.072 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/0.3855, allocations: 4.375 kB / 1.072 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.3857, allocations: 73.95 kB / 1.072 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.3857, allocations: 4 kB / 1.072 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.3857, allocations: 0 / 1.072 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.3858, allocations: 7.938 kB / 1.072 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/0.3859, allocations: 39.91 kB / 1.072 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004638/0.3864, allocations: 292.8 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.3865, allocations: 50.55 kB / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.068e-05/0.3866, allocations: 36.97 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.3866, allocations: 0 / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002102/0.3869, allocations: 83.31 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.3869, allocations: 0 / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004168/0.3873, allocations: 133.5 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/0.3874, allocations: 55.41 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.3875, allocations: 125.7 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.3875, allocations: 29.7 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.43e-05/0.3875, allocations: 84.14 kB / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.3876, allocations: 27.8 kB / 1.073 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.048e-05/0.3876, allocations: 25.72 kB / 1.073 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.3877, allocations: 326.8 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.648e-05/0.3878, allocations: 27.92 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.91e-05/0.3879, allocations: 57.14 kB / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.3881, allocations: 89.06 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3881, allocations: 0 / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002308/0.3883, allocations: 117.4 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.3884, allocations: 4.156 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3884, allocations: 4 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.3884, allocations: 4 kB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.004e-05/0.3885, allocations: 19.92 kB / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/0.3885, allocations: 4 kB / 1.073 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.234e-05/0.3886, allocations: 7.938 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.3886, allocations: 11.98 kB / 1.073 GB, free: 5.012 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 8.596e-05/0.3887, allocations: 123.8 kB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.958e-05/0.3887, allocations: 11.91 kB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.784e-05/0.3887, allocations: 16.41 kB / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3888, allocations: 0 / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3888, allocations: 0 / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3888, allocations: 0 / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004476/0.3892, allocations: 378.4 kB / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3892, allocations: 0 / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.373e-05/0.3893, allocations: 7.984 kB / 1.074 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.3893, allocations: 0 / 1.074 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.3893, allocations: 4 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3893, allocations: 0 / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.3893, allocations: 3.938 kB / 1.074 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002915/0.3896, allocations: 215.3 kB / 1.074 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.855e-05/0.3897, allocations: 81.02 kB / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.3897, allocations: 0 / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.399e-05/0.3898, allocations: 15.98 kB / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.3898, allocations: 7.938 kB / 1.074 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.3899, allocations: 3.984 kB / 1.074 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.62e-05/0.3899, allocations: 91.94 kB / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3899, allocations: 0 / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000314/0.3902, allocations: 39.98 kB / 1.074 GB, free: 3.934 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.0003396/0.3906, allocations: 164.3 kB / 1.074 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002412/0.3908, allocations: 75.77 kB / 1.074 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3908, allocations: 0 / 1.074 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.391, allocations: 31.98 kB / 1.074 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.3912, allocations: 11.98 kB / 1.074 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004179/0.3917, allocations: 189.2 kB / 1.075 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/0.3919, allocations: 0.6932 MB / 1.075 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.448e-05/0.3919, allocations: 4 kB / 1.075 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.546e-05/0.392, allocations: 11.44 kB / 1.075 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.392, allocations: 0 / 1.075 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of Templates: time 0.004068/0.3961, allocations: 1.448 MB / 1.077 GB, free: 1.273 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (rm -f Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1)