Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/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_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.704/1.704, allocations: 297.8 MB / 313.7 MB, free: 116 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 180.5 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 223.2 MB / 0.6626 GB, free: 4.336 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000963/0.0009628, allocations: 95.98 kB / 0.7808 GB, free: 43.42 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004502/0.0004502, allocations: 12 kB / 0.9088 GB, free: 0.6875 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6966/0.6971, allocations: 120.3 MB / 1.026 GB, free: 55.96 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2037/0.9009, allocations: 143.3 MB / 1.166 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/0.9012, allocations: 88.78 kB / 1.166 GB, free: 14.88 MB / 0.7448 GB [/home/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.009172/0.9104, allocations: 3.109 MB / 1.169 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.997e-06/0.9104, allocations: 4 kB / 1.169 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.9104, allocations: 0 / 1.169 GB, free: 11.81 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.0005552/0.911, allocations: 459.4 kB / 1.17 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.911, allocations: 8.719 kB / 1.17 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.577e-05/0.9111, allocations: 8.844 kB / 1.17 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.9112, allocations: 179.6 kB / 1.17 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.282e-05/0.9113, allocations: 8.906 kB / 1.17 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.9113, allocations: 8.312 kB / 1.17 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/0.9115, allocations: 97.16 kB / 1.17 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.9115, allocations: 192 / 1.17 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.9116, allocations: 3.938 kB / 1.17 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.9116, allocations: 4 kB / 1.17 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001501/0.9117, allocations: 51.97 kB / 1.17 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005529/0.9123, allocations: 324.8 kB / 1.17 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.9125, allocations: 70.5 kB / 1.17 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.9126, allocations: 49.72 kB / 1.171 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.9126, allocations: 4.141 kB / 1.171 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001892/0.9128, allocations: 99.39 kB / 1.171 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.663e-06/0.9128, allocations: 4 kB / 1.171 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0004648/0.9133, allocations: 189.5 kB / 1.171 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.9133, allocations: 59.41 kB / 1.171 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.672e-05/0.9134, allocations: 125.7 kB / 1.171 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.9135, allocations: 33.7 kB / 1.171 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.641e-05/0.9135, allocations: 88.38 kB / 1.171 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.9136, allocations: 19.8 kB / 1.171 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.634e-06/0.9136, allocations: 4 kB / 1.171 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.9137, allocations: 322.8 kB / 1.171 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.81e-05/0.9138, allocations: 27.98 kB / 1.171 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.9139, allocations: 87.69 kB / 1.172 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.9141, allocations: 120.1 kB / 1.172 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.9141, allocations: 0 / 1.172 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002422/0.9143, allocations: 141.5 kB / 1.172 GB, free: 9 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.9144, allocations: 4 kB / 1.172 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/0.9144, allocations: 4 kB / 1.172 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.9144, allocations: 0 / 1.172 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.914e-05/0.9145, allocations: 24.3 kB / 1.172 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.9145, allocations: 4 kB / 1.172 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.723e-05/0.9146, allocations: 15.91 kB / 1.172 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.9146, allocations: 4 kB / 1.172 GB, free: 8.945 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 () * 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 0.0001006/0.9147, allocations: 141.7 kB / 1.172 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.622e-05/0.9147, allocations: 7.906 kB / 1.172 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.086e-05/0.9148, allocations: 4.375 kB / 1.172 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.9148, allocations: 0 / 1.172 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.9148, allocations: 0 / 1.172 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.9148, allocations: 4 kB / 1.172 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005178/0.9153, allocations: 442.4 kB / 1.172 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.9153, allocations: 1.172 kB / 1.172 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.845e-05/0.9154, allocations: 7.984 kB / 1.172 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.9154, allocations: 0 / 1.172 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.9154, allocations: 0 / 1.172 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.9154, allocations: 3.984 kB / 1.172 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.9154, allocations: 4 kB / 1.172 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003431/0.9158, allocations: 255.3 kB / 1.173 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.458e-05/0.9158, allocations: 92.94 kB / 1.173 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.9158, allocations: 0 / 1.173 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.84e-05/0.9159, allocations: 4 kB / 1.173 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/0.916, allocations: 11.98 kB / 1.173 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.916, allocations: 7.938 kB / 1.173 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.541e-05/0.9161, allocations: 100.8 kB / 1.173 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9161, allocations: 0 / 1.173 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003017/0.9164, allocations: 55.92 kB / 1.173 GB, free: 7.727 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) * 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.0004089/0.9168, allocations: 179.2 kB / 1.173 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002527/0.9171, allocations: 95.89 kB / 1.173 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.9171, allocations: 0 / 1.173 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.9172, allocations: 51.91 kB / 1.173 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.9175, allocations: 16.3 kB / 1.173 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004594/0.918, allocations: 226.7 kB / 1.173 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.9182, allocations: 0.6887 MB / 1.174 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.273e-05/0.9183, allocations: 11.98 kB / 1.174 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.9183, allocations: 15.38 kB / 1.174 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of SimCode: time 2.1e-07/0.9183, allocations: 0 / 1.174 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of Templates: time 0.004459/0.9228, allocations: 1.745 MB / 1.176 GB, free: 4.719 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1)