Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.685/1.685, allocations: 289.7 MB / 302.3 MB, free: 2.086 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.00109/0.001091, allocations: 180.2 kB / 371.6 MB, free: 3.375 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.777/1.777, allocations: 205.1 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009027/0.0009027, allocations: 96.08 kB / 0.745 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.042e-05/5.054e-05, allocations: 4 kB / 0.8662 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2807, allocations: 116.3 MB / 0.9798 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8028/1.084, allocations: 141 MB / 1.117 GB, free: 43.13 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/1.084, allocations: 81.38 kB / 1.118 GB, free: 43.1 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.008117/1.092, allocations: 3.039 MB / 1.121 GB, free: 41.35 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.813e-06/1.092, allocations: 0 / 1.121 GB, free: 41.35 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.003e-06/1.092, allocations: 0 / 1.121 GB, free: 41.35 MB / 0.7448 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.0004267/1.093, allocations: 453 kB / 1.121 GB, free: 40.88 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/1.093, allocations: 8.031 kB / 1.121 GB, free: 40.87 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.106e-05/1.093, allocations: 10.25 kB / 1.121 GB, free: 40.86 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/1.093, allocations: 167 kB / 1.121 GB, free: 40.66 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.197e-05/1.093, allocations: 15.09 kB / 1.121 GB, free: 40.66 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/1.093, allocations: 4 kB / 1.121 GB, free: 40.65 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/1.093, allocations: 86.56 kB / 1.121 GB, free: 40.59 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/1.093, allocations: 0 / 1.121 GB, free: 40.59 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/1.093, allocations: 0.6562 kB / 1.121 GB, free: 40.59 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/1.093, allocations: 4 kB / 1.121 GB, free: 40.59 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.321e-05/1.093, allocations: 30.77 kB / 1.121 GB, free: 40.57 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005089/1.094, allocations: 329.6 kB / 1.122 GB, free: 40.26 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/1.094, allocations: 61.23 kB / 1.122 GB, free: 40.21 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.049e-05/1.094, allocations: 36.45 kB / 1.122 GB, free: 40.19 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/1.094, allocations: 0.9375 kB / 1.122 GB, free: 40.19 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001377/1.094, allocations: 85.58 kB / 1.122 GB, free: 40.12 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/1.094, allocations: 0.5625 kB / 1.122 GB, free: 40.12 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0002831/1.094, allocations: 138.7 kB / 1.122 GB, free: 40.02 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/1.094, allocations: 66.34 kB / 1.122 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.911e-05/1.094, allocations: 119.9 kB / 1.122 GB, free: 39.83 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/1.094, allocations: 29.52 kB / 1.122 GB, free: 39.8 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.225e-05/1.094, allocations: 92.16 kB / 1.122 GB, free: 39.71 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/1.095, allocations: 22.84 kB / 1.122 GB, free: 39.69 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.892e-06/1.095, allocations: 3.875 kB / 1.122 GB, free: 39.69 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 4.879e-05/1.095, allocations: 318.8 kB / 1.122 GB, free: 39.38 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.251e-05/1.095, allocations: 27.81 kB / 1.123 GB, free: 39.36 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.092e-05/1.095, allocations: 70.33 kB / 1.123 GB, free: 39.28 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.503e-05/1.095, allocations: 32.3 kB / 1.123 GB, free: 39.26 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/1.095, allocations: 0 / 1.123 GB, free: 39.26 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001725/1.095, allocations: 119.1 kB / 1.123 GB, free: 39.16 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/1.095, allocations: 4 kB / 1.123 GB, free: 39.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/1.095, allocations: 4 kB / 1.123 GB, free: 39.16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/1.095, allocations: 1.188 kB / 1.123 GB, free: 39.16 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.557e-05/1.095, allocations: 23.2 kB / 1.123 GB, free: 39.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/1.095, allocations: 0.5625 kB / 1.123 GB, free: 39.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.698e-05/1.095, allocations: 12.16 kB / 1.123 GB, free: 39.13 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/1.095, allocations: 7.953 kB / 1.123 GB, free: 39.12 MB / 0.7448 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 () * 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 6.143e-05/1.095, allocations: 120.2 kB / 1.123 GB, free: 39 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.748e-05/1.095, allocations: 7.906 kB / 1.123 GB, free: 39 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.042e-05/1.095, allocations: 9.516 kB / 1.123 GB, free: 39 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/1.095, allocations: 4.656 kB / 1.123 GB, free: 38.99 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.095, allocations: 0 / 1.123 GB, free: 38.99 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/1.095, allocations: 7.422 kB / 1.123 GB, free: 38.99 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004037/1.096, allocations: 423.8 kB / 1.123 GB, free: 38.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/1.096, allocations: 0 / 1.123 GB, free: 38.61 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.339e-05/1.096, allocations: 7.281 kB / 1.123 GB, free: 38.6 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/1.096, allocations: 0 / 1.123 GB, free: 38.6 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/1.096, allocations: 4 kB / 1.123 GB, free: 38.6 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/1.096, allocations: 0.5469 kB / 1.123 GB, free: 38.6 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.096, allocations: 4.438 kB / 1.123 GB, free: 38.59 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/1.096, allocations: 239.9 kB / 1.124 GB, free: 38.39 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.606e-05/1.096, allocations: 82 kB / 1.124 GB, free: 38.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/1.096, allocations: 8.969 kB / 1.124 GB, free: 38.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.606e-05/1.096, allocations: 11.83 kB / 1.124 GB, free: 38.28 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/1.096, allocations: 7.469 kB / 1.124 GB, free: 38.28 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/1.096, allocations: 0 / 1.124 GB, free: 38.28 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.76e-05/1.096, allocations: 103.9 kB / 1.124 GB, free: 38.19 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.21e-07/1.096, allocations: 0 / 1.124 GB, free: 38.19 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002967/1.097, allocations: 59.81 kB / 1.124 GB, free: 38.13 MB / 0.7448 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) * 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.0003438/1.097, allocations: 172.2 kB / 1.124 GB, free: 37.98 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001678/1.097, allocations: 81.91 kB / 1.124 GB, free: 37.93 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/1.097, allocations: 4.312 kB / 1.124 GB, free: 37.93 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.16e-05/1.097, allocations: 38.95 kB / 1.124 GB, free: 37.9 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/1.098, allocations: 10.09 kB / 1.124 GB, free: 37.9 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002906/1.098, allocations: 117.9 kB / 1.124 GB, free: 37.79 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001215/1.098, allocations: 0.6948 MB / 1.125 GB, free: 37.08 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.039e-05/1.098, allocations: 11.38 kB / 1.125 GB, free: 37.07 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.323e-05/1.098, allocations: 11.44 kB / 1.125 GB, free: 37.06 MB / 0.7448 GB Notification: Performance of SimCode: time 4.1e-07/1.098, allocations: 0 / 1.125 GB, free: 37.06 MB / 0.7448 GB Notification: Performance of Templates: time 0.004107/1.102, allocations: 1.763 MB / 1.127 GB, free: 36.1 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1)