Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.96/4.96, allocations: 0.5623 GB / 0.5775 GB, free: 3.359 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002575/0.002575, allocations: 355.6 kB / 0.6446 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.756/4.756, allocations: 410.7 MB / 1.113 GB, free: 5.934 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001836/0.001836, allocations: 187.9 kB / 1.226 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005068/0.000507, allocations: 16 kB / 1.349 GB, free: 8.191 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7291/0.7297, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2042/0.9339, allocations: 139.9 MB / 1.598 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/0.9343, allocations: 87.95 kB / 1.598 GB, free: 144.2 MB / 0.8542 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.01307/0.9473, allocations: 3.055 MB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.924e-06/0.9474, allocations: 0.5 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.9474, allocations: 0 / 1.601 GB, free: 141.2 MB / 0.8542 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.0005783/0.948, allocations: 468 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.9481, allocations: 16.25 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.892e-05/0.9481, allocations: 15.84 kB / 1.602 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.346e-05/0.9482, allocations: 171.9 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.567e-05/0.9483, allocations: 8 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.9483, allocations: 8.953 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000299/0.9486, allocations: 86.95 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.9486, allocations: 0 / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/0.9487, allocations: 0 / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.9487, allocations: 3.938 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002455/0.9489, allocations: 58.67 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006238/0.9496, allocations: 322.4 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/0.9498, allocations: 76.31 kB / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.95, allocations: 50.52 kB / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.9501, allocations: 3.938 kB / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002699/0.9503, allocations: 96.98 kB / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=9): time 1.943e-06/0.9504, allocations: 0.75 kB / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9): time 0.0007165/0.9511, allocations: 196.1 kB / 1.603 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.9511, allocations: 59.36 kB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.788e-05/0.9512, allocations: 128.5 kB / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.9513, allocations: 30.7 kB / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.872e-05/0.9513, allocations: 96.27 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.9514, allocations: 16.97 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.827e-06/0.9514, allocations: 4 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.541e-05/0.9515, allocations: 325.8 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.9516, allocations: 27.92 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.9517, allocations: 79.05 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.9519, allocations: 35.61 kB / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.9519, allocations: 1.906 kB / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003702/0.9523, allocations: 142.8 kB / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.9523, allocations: 8 kB / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.9523, allocations: 0.9375 kB / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/0.9524, allocations: 7.984 kB / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.9525, allocations: 12.97 kB / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.936e-06/0.9526, allocations: 3.953 kB / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.9527, allocations: 20.83 kB / 1.604 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/0.9527, allocations: 8 kB / 1.604 GB, free: 138.4 MB / 0.8542 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,bli.occ,$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 9.928e-05/0.9528, allocations: 128 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.9529, allocations: 4 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.649e-05/0.9529, allocations: 13.2 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.9529, allocations: 4.75 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.9529, allocations: 0 / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.953, allocations: 8.828 kB / 1.604 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007055/0.9537, allocations: 440.5 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.9537, allocations: 0 / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.245e-05/0.9538, allocations: 8.562 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.9538, allocations: 0.75 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.9538, allocations: 7.984 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.9538, allocations: 5.547 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.9538, allocations: 2.672 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004848/0.9543, allocations: 254.1 kB / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.667e-05/0.9544, allocations: 81.02 kB / 1.604 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.66e-05/0.9544, allocations: 8 kB / 1.604 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.9546, allocations: 10.61 kB / 1.604 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.987e-05/0.9546, allocations: 7.891 kB / 1.604 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.9547, allocations: 7.984 kB / 1.604 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.51e-05/0.9547, allocations: 99.27 kB / 1.605 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.71e-07/0.9547, allocations: 0 / 1.605 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004314/0.9552, allocations: 55.88 kB / 1.605 GB, free: 137.2 MB / 0.8542 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,bli.occ,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.0004224/0.9556, allocations: 167.8 kB / 1.605 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003897/0.956, allocations: 102.4 kB / 1.605 GB, free: 137 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.956, allocations: 4.188 kB / 1.605 GB, free: 137 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001914/0.9562, allocations: 52.86 kB / 1.605 GB, free: 136.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.9566, allocations: 8.516 kB / 1.605 GB, free: 136.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005352/0.9572, allocations: 231.9 kB / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/0.9573, allocations: 0.7011 MB / 1.606 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.502e-05/0.9574, allocations: 6.828 kB / 1.606 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.349e-05/0.9575, allocations: 11.44 kB / 1.606 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of SimCode: time 7.22e-07/0.9575, allocations: 0.5 kB / 1.606 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.005862/0.9633, allocations: 1.753 MB / 1.608 GB, free: 134.3 MB / 0.8542 GB