Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.379/1.379, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 172.8 kB / 326.5 MB, free: 2.676 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.87/1.87, allocations: 205 MB / 0.5766 GB, free: 20.96 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006932/0.000693, allocations: 83.25 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004222/0.0004222, allocations: 8.906 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2502, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.001896/0.2521, allocations: 1.219 MB / 0.8979 GB, free: 66.94 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001545/0.2537, allocations: 0.7774 MB / 0.8987 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.422e-05/0.2538, allocations: 3.938 kB / 0.8987 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.553e-05/0.2538, allocations: 3.984 kB / 0.8987 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.478e-05/0.2539, allocations: 11.86 kB / 0.8987 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005365/0.2544, allocations: 91.84 kB / 0.8988 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.783e-05/0.2546, allocations: 75.7 kB / 0.8989 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.91e-05/0.2547, allocations: 15.94 kB / 0.8989 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.994e-05/0.2548, allocations: 23.92 kB / 0.8989 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.466e-05/0.2548, allocations: 35.78 kB / 0.8989 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.2549, allocations: 4 kB / 0.8989 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000202/0.2551, allocations: 87.91 kB / 0.899 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.555e-05/0.2551, allocations: 11.97 kB / 0.899 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.095e-05/0.2552, allocations: 35.8 kB / 0.8991 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.2554, allocations: 83.84 kB / 0.8992 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2554, allocations: 0 / 0.8992 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.303e-06/0.2554, allocations: 4 kB / 0.8992 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.2554, allocations: 0 / 0.8992 GB, free: 65.68 MB / 0.6042 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.0005356/0.256, allocations: 442.7 kB / 0.8996 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.256, allocations: 12.03 kB / 0.8996 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.594e-05/0.2561, allocations: 8.844 kB / 0.8996 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.236e-05/0.2561, allocations: 176.2 kB / 0.8998 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.2562, allocations: 4.312 kB / 0.8998 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.2562, allocations: 4.375 kB / 0.8998 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.2564, allocations: 77.97 kB / 0.8999 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.2564, allocations: 0 / 0.8999 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.2564, allocations: 7.938 kB / 0.8999 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.768e-06/0.2564, allocations: 0 / 0.8999 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.2565, allocations: 39.97 kB / 0.8999 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003694/0.2569, allocations: 308.7 kB / 0.9002 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.257, allocations: 46.56 kB / 0.9002 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.451e-05/0.2571, allocations: 40.97 kB / 0.9003 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.2571, allocations: 8.062 kB / 0.9003 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002377/0.2574, allocations: 79.28 kB / 0.9004 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.995e-06/0.2574, allocations: 0 / 0.9004 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003703/0.2578, allocations: 145.6 kB / 0.9005 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.283e-05/0.2578, allocations: 59.41 kB / 0.9006 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.577e-05/0.2579, allocations: 121.8 kB / 0.9007 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.2579, allocations: 25.7 kB / 0.9007 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.864e-05/0.2579, allocations: 92.12 kB / 0.9008 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.468e-05/0.258, allocations: 15.8 kB / 0.9008 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.309e-05/0.258, allocations: 21.7 kB / 0.9008 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.325e-05/0.258, allocations: 326.8 kB / 0.9011 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.569e-05/0.2581, allocations: 23.98 kB / 0.9012 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.859e-05/0.2582, allocations: 65.5 kB / 0.9012 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.2583, allocations: 101.1 kB / 0.9013 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.2584, allocations: 0 / 0.9013 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001958/0.2586, allocations: 121.4 kB / 0.9014 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.2586, allocations: 4 kB / 0.9014 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2586, allocations: 4 kB / 0.9014 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.2586, allocations: 3.984 kB / 0.9014 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.126e-05/0.2587, allocations: 12 kB / 0.9014 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.086e-06/0.2587, allocations: 12.41 kB / 0.9015 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.9e-05/0.2588, allocations: 15.86 kB / 0.9015 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.2588, allocations: 8 kB / 0.9015 GB, free: 63.02 MB / 0.6042 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 6.322e-05/0.2589, allocations: 117.8 kB / 0.9016 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.431e-05/0.2589, allocations: 7.906 kB / 0.9016 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.528e-05/0.2589, allocations: 8.375 kB / 0.9016 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.614e-06/0.2589, allocations: 4 kB / 0.9016 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2589, allocations: 4 kB / 0.9016 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.2589, allocations: 3.984 kB / 0.9016 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003461/0.2593, allocations: 382.4 kB / 0.902 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2593, allocations: 0 / 0.902 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.77e-05/0.2594, allocations: 4 kB / 0.902 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.2594, allocations: 7.938 kB / 0.902 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.2594, allocations: 8 kB / 0.902 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.2594, allocations: 3.984 kB / 0.902 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2594, allocations: 3.938 kB / 0.902 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.2596, allocations: 219.3 kB / 0.9022 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.032e-05/0.2596, allocations: 81.02 kB / 0.9023 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.2597, allocations: 7.984 kB / 0.9023 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.509e-05/0.2598, allocations: 8 kB / 0.9023 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.883e-05/0.2598, allocations: 7.922 kB / 0.9023 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.2598, allocations: 4 kB / 0.9023 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.26e-05/0.2599, allocations: 95.42 kB / 0.9024 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2599, allocations: 0 / 0.9024 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002774/0.2601, allocations: 39.94 kB / 0.9025 GB, free: 61.92 MB / 0.6042 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.0002744/0.2604, allocations: 157.5 kB / 0.9026 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002018/0.2606, allocations: 79.83 kB / 0.9027 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2607, allocations: 320 / 0.9027 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.329e-05/0.2608, allocations: 43.92 kB / 0.9027 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.261, allocations: 17.12 kB / 0.9027 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003783/0.2614, allocations: 216.5 kB / 0.9029 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.499e-05/0.2615, allocations: 0.6926 MB / 0.9036 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.311e-05/0.2615, allocations: 15.44 kB / 0.9036 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2615, allocations: 0 / 0.9036 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of Templates: time 0.002574/0.2641, allocations: 1.565 MB / 0.9052 GB, free: 59.1 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1)