Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001138/0.001137, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001181/0.001181, allocations: 195.8 kB / 16.25 MB, free: 6.621 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.422/1.422, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.757/2.757, allocations: 472.6 MB / 0.7448 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 60.33 kB / 0.9115 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2981, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002538/0.3007, allocations: 1.547 MB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.3019, allocations: 0.7322 MB / 1.07 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.844e-05/0.3019, allocations: 0 / 1.07 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.871e-05/0.3019, allocations: 0 / 1.07 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.477e-05/0.302, allocations: 15.84 kB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004759/0.3025, allocations: 107.7 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.3026, allocations: 67.78 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.3027, allocations: 19.98 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.628e-05/0.3028, allocations: 27.92 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.101e-05/0.3029, allocations: 35.83 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.3029, allocations: 8 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001827/0.3031, allocations: 91.84 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.775e-05/0.3031, allocations: 19.92 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.294e-05/0.3032, allocations: 31.86 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002274/0.3034, allocations: 135.9 kB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.3035, allocations: 4 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.374e-06/0.3035, allocations: 0 / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.74e-06/0.3035, allocations: 0 / 1.07 GB, free: 7.953 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.0006839/0.3042, allocations: 442.7 kB / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.3042, allocations: 8.031 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.428e-05/0.3043, allocations: 8.844 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.3044, allocations: 176.2 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.221e-05/0.3044, allocations: 384 / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.364e-05/0.3045, allocations: 4.375 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/0.3047, allocations: 89.83 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.3047, allocations: 0 / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.3047, allocations: 0 / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3047, allocations: 0 / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.3049, allocations: 39.97 kB / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005123/0.3054, allocations: 296.8 kB / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.3056, allocations: 50.5 kB / 1.072 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.256e-05/0.3057, allocations: 32.97 kB / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.3057, allocations: 0 / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002085/0.3059, allocations: 71.38 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.3059, allocations: 8 kB / 1.072 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.000432/0.3064, allocations: 137.6 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.3064, allocations: 59.34 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.3065, allocations: 121.8 kB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.3066, allocations: 29.7 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.374e-05/0.3066, allocations: 88.12 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.295e-05/0.3067, allocations: 19.75 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.194e-05/0.3067, allocations: 33.7 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.3069, allocations: 318.8 kB / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.709e-05/0.3069, allocations: 27.97 kB / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.951e-05/0.307, allocations: 57.14 kB / 1.072 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/0.3072, allocations: 93.06 kB / 1.073 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3072, allocations: 0 / 1.073 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002175/0.3074, allocations: 121.4 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.3075, allocations: 4 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3075, allocations: 0 / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.3075, allocations: 7.938 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.432e-05/0.3076, allocations: 11.94 kB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.3076, allocations: 7.984 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.148e-05/0.3077, allocations: 8 kB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.3077, allocations: 4.047 kB / 1.073 GB, free: 5.352 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.00011/0.3078, allocations: 137.7 kB / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.754e-05/0.3078, allocations: 7.906 kB / 1.073 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.656e-05/0.3079, allocations: 8.359 kB / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.3079, allocations: 4 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3079, allocations: 0 / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3079, allocations: 0 / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000447/0.3083, allocations: 378.5 kB / 1.073 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3083, allocations: 4 kB / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.164e-05/0.3084, allocations: 4 kB / 1.073 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3084, allocations: 0 / 1.073 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.3084, allocations: 3.984 kB / 1.073 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.638e-06/0.3084, allocations: 3.938 kB / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.3084, allocations: 3.938 kB / 1.073 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002913/0.3087, allocations: 207.8 kB / 1.073 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.512e-05/0.3088, allocations: 89 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.3088, allocations: 4 kB / 1.074 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.43e-05/0.3089, allocations: 4 kB / 1.074 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.309, allocations: 11.92 kB / 1.074 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.309, allocations: 0 / 1.074 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.883e-05/0.309, allocations: 99.86 kB / 1.074 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.309, allocations: 0 / 1.074 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002987/0.3093, allocations: 36 kB / 1.074 GB, free: 4.266 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.0003549/0.3097, allocations: 163.3 kB / 1.074 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002398/0.31, allocations: 75.81 kB / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.31, allocations: 0 / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.3101, allocations: 31.98 kB / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.3104, allocations: 16.3 kB / 1.074 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003991/0.3108, allocations: 200.8 kB / 1.074 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.311, allocations: 0.6846 MB / 1.075 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.794e-05/0.3111, allocations: 16.06 kB / 1.075 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.619e-05/0.3111, allocations: 11.44 kB / 1.075 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.3111, allocations: 0 / 1.075 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of Templates: time 0.00376/0.3149, allocations: 1.392 MB / 1.076 GB, free: 1.641 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1)