Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.666/1.666, allocations: 288.4 MB / 303.4 MB, free: 8.133 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009665/0.0009665, allocations: 176.5 kB / 372 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.481/1.481, allocations: 205.4 MB / 0.6307 GB, free: 9.98 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000843/0.000843, allocations: 82.42 kB / 0.7441 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003773/0.0003772, allocations: 10.25 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.248, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.001647/0.2498, allocations: 1.211 MB / 0.9808 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.2509, allocations: 0.7305 MB / 0.9815 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.9e-05/0.2509, allocations: 8 kB / 0.9815 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.553e-05/0.251, allocations: 3.938 kB / 0.9815 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.007e-05/0.251, allocations: 7.922 kB / 0.9815 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000457/0.2515, allocations: 95.77 kB / 0.9816 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.614e-05/0.2516, allocations: 83.7 kB / 0.9817 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.745e-05/0.2517, allocations: 11.98 kB / 0.9817 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.377e-05/0.2518, allocations: 39.91 kB / 0.9817 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.319e-05/0.2519, allocations: 39.83 kB / 0.9818 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.2519, allocations: 4 kB / 0.9818 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.2521, allocations: 87.84 kB / 0.9818 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.942e-05/0.2521, allocations: 11.98 kB / 0.9818 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.556e-05/0.2521, allocations: 45.62 kB / 0.9819 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.2523, allocations: 108 kB / 0.982 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.2523, allocations: 4 kB / 0.982 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2523, allocations: 3.938 kB / 0.982 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.289e-06/0.2523, allocations: 4 kB / 0.982 GB, free: 25.16 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005036/0.2528, allocations: 446.4 kB / 0.9824 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.2529, allocations: 12.02 kB / 0.9824 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.898e-05/0.2529, allocations: 7.906 kB / 0.9825 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.682e-05/0.253, allocations: 174.9 kB / 0.9826 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/0.253, allocations: 8 kB / 0.9826 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.2531, allocations: 4 kB / 0.9826 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/0.2533, allocations: 97.56 kB / 0.9827 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.2533, allocations: 0 / 0.9827 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.2533, allocations: 4 kB / 0.9827 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.2533, allocations: 0 / 0.9827 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001382/0.2535, allocations: 47.97 kB / 0.9828 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000486/0.254, allocations: 332.6 kB / 0.9831 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.2541, allocations: 70.55 kB / 0.9832 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.057e-05/0.2542, allocations: 40.84 kB / 0.9832 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.2543, allocations: 7.984 kB / 0.9832 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001935/0.2545, allocations: 99.39 kB / 0.9833 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.2545, allocations: 0 / 0.9833 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0004539/0.2549, allocations: 193.5 kB / 0.9835 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.255, allocations: 63.34 kB / 0.9835 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.213e-05/0.255, allocations: 132.1 kB / 0.9837 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.2551, allocations: 30.08 kB / 0.9837 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.555e-05/0.2551, allocations: 88.38 kB / 0.9838 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.788e-05/0.2551, allocations: 23.73 kB / 0.9838 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.2551, allocations: 4 kB / 0.9838 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.605e-05/0.2552, allocations: 326.8 kB / 0.9841 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.237e-05/0.2553, allocations: 27.97 kB / 0.9841 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.708e-05/0.2554, allocations: 74 kB / 0.9842 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.349e-05/0.2555, allocations: 39.92 kB / 0.9843 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.2555, allocations: 4 kB / 0.9843 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002152/0.2557, allocations: 137.6 kB / 0.9844 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.2557, allocations: 13.5 kB / 0.9844 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.2557, allocations: 3.984 kB / 0.9844 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.2557, allocations: 4 kB / 0.9844 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.231e-05/0.2558, allocations: 23.92 kB / 0.9844 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.2559, allocations: 4 kB / 0.9844 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.39e-05/0.2559, allocations: 11.86 kB / 0.9844 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.2559, allocations: 4 kB / 0.9845 GB, free: 22.41 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.pDown,bli.pDown,$PRE.bli.pUp,bli.pUp,$PRE.bli.blindState,bli.blindState,$PRE.bli.isOpen,bli.isOpen,occ.y,$whenCondition1,bli.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.621e-05/0.256, allocations: 136.9 kB / 0.9846 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.52e-05/0.2561, allocations: 7.906 kB / 0.9846 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.362e-05/0.2561, allocations: 8.375 kB / 0.9846 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2561, allocations: 4 kB / 0.9846 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.2561, allocations: 0 / 0.9846 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.2561, allocations: 0 / 0.9846 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004266/0.2565, allocations: 442.5 kB / 0.985 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2566, allocations: 0 / 0.985 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.908e-05/0.2566, allocations: 7.984 kB / 0.985 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.2566, allocations: 0 / 0.985 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.2566, allocations: 8 kB / 0.985 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.2566, allocations: 4 kB / 0.985 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2566, allocations: 3.953 kB / 0.985 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002826/0.2569, allocations: 255.3 kB / 0.9853 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.447e-05/0.257, allocations: 81.02 kB / 0.9854 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.473e-05/0.257, allocations: 12.17 kB / 0.9854 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.459e-05/0.2571, allocations: 4 kB / 0.9854 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/0.2571, allocations: 15.88 kB / 0.9854 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.2572, allocations: 4 kB / 0.9854 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.487e-05/0.2572, allocations: 99.27 kB / 0.9855 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2572, allocations: 0 / 0.9855 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002749/0.2575, allocations: 43.98 kB / 0.9855 GB, free: 21.2 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003097/0.2578, allocations: 163.4 kB / 0.9857 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002341/0.258, allocations: 99.92 kB / 0.9858 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2581, allocations: 0 / 0.9858 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.2582, allocations: 51.92 kB / 0.9858 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.2584, allocations: 13.33 kB / 0.9859 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003965/0.2588, allocations: 230.6 kB / 0.9861 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.259, allocations: 0.6965 MB / 0.9868 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.942e-05/0.259, allocations: 16 kB / 0.9868 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.195e-05/0.2591, allocations: 11.44 kB / 0.9868 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.2591, allocations: 0 / 0.9868 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of Templates: time 0.003675/0.2627, allocations: 1.565 MB / 0.9883 GB, free: 18.36 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1)