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.001581/0.001581, 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.002076/0.002076, allocations: 192.2 kB / 16.13 MB, free: 6.711 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.479/1.479, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.238/3.238, allocations: 472.6 MB / 0.7447 GB, free: 5.031 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 65.95 kB / 0.9114 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3427, allocations: 159.9 MB / 1.068 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002684/0.3454, allocations: 1.554 MB / 1.069 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001263/0.3467, allocations: 0.7362 MB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.499e-05/0.3467, allocations: 0 / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.405e-05/0.3468, allocations: 7.922 kB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.132e-05/0.3469, allocations: 7.922 kB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005134/0.3474, allocations: 99.77 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000112/0.3475, allocations: 71.78 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.3476, allocations: 11.98 kB / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.806e-05/0.3477, allocations: 23.92 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.786e-05/0.3478, allocations: 39.83 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.3478, allocations: 4 kB / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001839/0.348, allocations: 87.84 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.512e-05/0.348, allocations: 15.92 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.863e-05/0.3481, allocations: 35.8 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.3483, allocations: 127.9 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.3483, allocations: 7.984 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.51e-07/0.3483, allocations: 0 / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.3484, allocations: 0 / 1.07 GB, free: 8.133 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.0006446/0.349, allocations: 438.7 kB / 1.071 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.3491, allocations: 12.03 kB / 1.071 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.288e-05/0.3491, allocations: 4.844 kB / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.3493, allocations: 180.2 kB / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.844e-05/0.3493, allocations: 8.375 kB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/0.3493, allocations: 8.375 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002727/0.3496, allocations: 73.95 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.3496, allocations: 0 / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.3496, allocations: 0 / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.3497, allocations: 3.938 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001406/0.3498, allocations: 35.97 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005476/0.3504, allocations: 300.8 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.3505, allocations: 50.5 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.978e-05/0.3506, allocations: 28.97 kB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.3506, allocations: 4 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002064/0.3508, allocations: 75.38 kB / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.3508, allocations: 0 / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.000427/0.3513, allocations: 145.5 kB / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.3513, allocations: 55.39 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.3515, allocations: 121.8 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.3515, allocations: 29.7 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.332e-05/0.3516, allocations: 96.12 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/0.3516, allocations: 19.75 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-05/0.3516, allocations: 25.7 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.3518, allocations: 318.8 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.613e-05/0.3519, allocations: 19.98 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.817e-05/0.352, allocations: 65.12 kB / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002316/0.3522, allocations: 89.02 kB / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3522, allocations: 0 / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002141/0.3524, allocations: 117.4 kB / 1.072 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/0.3525, allocations: 11.98 kB / 1.072 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3525, allocations: 0 / 1.072 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.3525, allocations: 0 / 1.072 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.472e-05/0.3526, allocations: 12 kB / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.3526, allocations: 0 / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.713e-05/0.3527, allocations: 19.92 kB / 1.073 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.3527, allocations: 4.156 kB / 1.073 GB, free: 5.535 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 0.000101/0.3528, allocations: 133.6 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.713e-05/0.3528, allocations: 7.906 kB / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.815e-05/0.3528, allocations: 8.375 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.3529, allocations: 3.984 kB / 1.073 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.3529, allocations: 4 kB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3529, allocations: 0 / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000493/0.3534, allocations: 390.7 kB / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3534, allocations: 0 / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.847e-05/0.3534, allocations: 4 kB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3534, allocations: 0 / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.3535, allocations: 7.984 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3535, allocations: 0 / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3535, allocations: 3.938 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000285/0.3538, allocations: 207.4 kB / 1.073 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.502e-05/0.3538, allocations: 85.02 kB / 1.073 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.3538, allocations: 3.984 kB / 1.073 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.807e-05/0.3539, allocations: 4 kB / 1.073 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.354, allocations: 7.922 kB / 1.073 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.354, allocations: 4 kB / 1.073 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.854e-05/0.3541, allocations: 99.2 kB / 1.073 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3541, allocations: 0 / 1.073 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003186/0.3544, allocations: 32 kB / 1.073 GB, free: 4.449 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.0004774/0.3549, allocations: 163.3 kB / 1.074 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002662/0.3551, allocations: 75.81 kB / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.3552, allocations: 320 / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.3553, allocations: 39.98 kB / 1.074 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.3556, allocations: 11.98 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005444/0.3561, allocations: 194.6 kB / 1.074 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003894/0.3565, allocations: 0.6932 MB / 1.075 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.997e-05/0.3566, allocations: 4 kB / 1.075 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.038e-05/0.3566, allocations: 11.42 kB / 1.075 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of SimCode: time 5.21e-07/0.3566, allocations: 0 / 1.075 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of Templates: time 0.005058/0.3617, allocations: 1.359 MB / 1.076 GB, free: 1.863 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)