Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.552/2.552, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.001444/0.001444, allocations: 172.9 kB / 360.6 MB, free: 7.281 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.202/2.202, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001106/0.001105, allocations: 94.08 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.32e-05/3.321e-05, allocations: 4 kB / 0.8509 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8165/0.8165, allocations: 115.3 MB / 0.9634 GB, free: 78.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2433/1.06, allocations: 139.2 MB / 1.099 GB, free: 1.27 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000325/1.06, allocations: 80.52 kB / 1.099 GB, free: 1.191 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.01483/1.075, allocations: 3.036 MB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.683e-06/1.075, allocations: 0 / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.357e-06/1.075, allocations: 5 kB / 1.102 GB, free: 14.21 MB / 0.7136 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.0007254/1.076, allocations: 455.5 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/1.076, allocations: 12.72 kB / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.695e-05/1.076, allocations: 8.562 kB / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/1.076, allocations: 178.9 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.27e-05/1.076, allocations: 1.188 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.203e-05/1.076, allocations: 14.14 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001419/1.076, allocations: 28 kB / 1.103 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/1.077, allocations: 74.16 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/1.077, allocations: 0.5 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/1.077, allocations: 7.984 kB / 1.103 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/1.077, allocations: 0.5 kB / 1.103 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006878/1.077, allocations: 291.5 kB / 1.103 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/1.078, allocations: 61.73 kB / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.901e-05/1.078, allocations: 36.84 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/1.078, allocations: 0 / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002091/1.078, allocations: 83.38 kB / 1.104 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.974e-06/1.078, allocations: 0.75 kB / 1.104 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0004489/1.078, allocations: 131.3 kB / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/1.078, allocations: 56.59 kB / 1.104 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/1.079, allocations: 110.7 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/1.079, allocations: 34.89 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.804e-05/1.079, allocations: 92.42 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.451e-05/1.079, allocations: 25.08 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.195e-06/1.079, allocations: 0 / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001302/1.079, allocations: 326.8 kB / 1.104 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.054e-05/1.079, allocations: 20 kB / 1.104 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.712e-05/1.079, allocations: 59.14 kB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.061e-05/1.079, allocations: 31.92 kB / 1.104 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/1.079, allocations: 7.938 kB / 1.104 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002587/1.08, allocations: 106.5 kB / 1.105 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.868e-05/1.08, allocations: 4 kB / 1.105 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/1.08, allocations: 4 kB / 1.105 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/1.08, allocations: 4 kB / 1.105 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/1.08, allocations: 18.52 kB / 1.105 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/1.08, allocations: 0 / 1.105 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/1.08, allocations: 20 kB / 1.105 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/1.08, allocations: 4 kB / 1.105 GB, free: 11.73 MB / 0.7136 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 0.0001136/1.08, allocations: 122.5 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003739/1.08, allocations: 137.5 kB / 1.105 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/1.08, allocations: 4 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.174e-05/1.081, allocations: 4.719 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/1.081, allocations: 3.984 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/1.081, allocations: 0.875 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/1.081, allocations: 11.95 kB / 1.105 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007109/1.081, allocations: 386.9 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/1.081, allocations: 0 / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.669e-05/1.081, allocations: 4 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/1.081, allocations: 4 kB / 1.105 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.229e-05/1.081, allocations: 8.672 kB / 1.105 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/1.081, allocations: 0 / 1.105 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/1.081, allocations: 3.953 kB / 1.105 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004452/1.082, allocations: 231.3 kB / 1.105 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.193e-05/1.082, allocations: 85.02 kB / 1.106 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.688e-05/1.082, allocations: 4 kB / 1.106 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/1.082, allocations: 4 kB / 1.106 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.306e-05/1.082, allocations: 11.94 kB / 1.106 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/1.082, allocations: 9.297 kB / 1.106 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.885e-05/1.082, allocations: 88.66 kB / 1.106 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.21e-07/1.082, allocations: 4 kB / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005094/1.083, allocations: 55.92 kB / 1.106 GB, free: 10.49 MB / 0.7136 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.001176/1.084, allocations: 0.8344 MB / 1.107 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002684/1.084, allocations: 63.94 kB / 1.107 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.084, allocations: 0 / 1.107 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001229/1.085, allocations: 43.92 kB / 1.107 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/1.085, allocations: 13.58 kB / 1.107 GB, free: 9.527 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007305/1.086, allocations: 168.6 kB / 1.107 GB, free: 9.332 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/1.086, allocations: 0.7002 MB / 1.107 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.718e-05/1.086, allocations: 8.172 kB / 1.107 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.375e-05/1.086, allocations: 23.42 kB / 1.108 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of SimCode: time 8.72e-07/1.086, allocations: 0 / 1.108 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04349/1.13, allocations: 2.495 MB / 1.11 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004071/1.13, allocations: 199.2 kB / 1.11 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.45/3.581, allocations: 0 / 1.11 GB, free: 5.871 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1)