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.868/2.868, allocations: 287.3 MB / 302.3 MB, free: 8.402 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.001449/0.001449, allocations: 175 kB / 370.8 MB, free: 10.88 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.271/2.271, allocations: 205.4 MB / 0.6295 GB, free: 10.64 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.001165/0.001164, allocations: 97.94 kB / 0.7428 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007621/0.0007621, allocations: 9.875 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2537, allocations: 115.3 MB / 0.9783 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.044/1.298, allocations: 139.9 MB / 1.115 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002963/1.298, allocations: 82.52 kB / 1.115 GB, free: 15.73 MB / 0.6823 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.01391/1.312, allocations: 3.072 MB / 1.118 GB, free: 31.28 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.405e-06/1.312, allocations: 0 / 1.118 GB, free: 31.28 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.09e-05/1.312, allocations: 3.844 kB / 1.118 GB, free: 31.28 MB / 0.698 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.0007796/1.313, allocations: 466 kB / 1.118 GB, free: 30.82 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/1.313, allocations: 11.53 kB / 1.118 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.285e-05/1.313, allocations: 33.75 kB / 1.118 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.621e-05/1.313, allocations: 7.688 kB / 1.118 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/1.314, allocations: 188.7 kB / 1.119 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.383e-05/1.314, allocations: 3.844 kB / 1.119 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/1.314, allocations: 11 kB / 1.119 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003072/1.314, allocations: 88.33 kB / 1.119 GB, free: 30.53 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/1.314, allocations: 0 / 1.119 GB, free: 30.53 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/1.314, allocations: 3.25 kB / 1.119 GB, free: 30.53 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/1.314, allocations: 0 / 1.119 GB, free: 30.53 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002451/1.314, allocations: 52.75 kB / 1.119 GB, free: 30.53 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007234/1.315, allocations: 329.9 kB / 1.119 GB, free: 30.25 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002365/1.315, allocations: 64.14 kB / 1.119 GB, free: 30.23 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.388e-05/1.315, allocations: 3.969 kB / 1.119 GB, free: 30.23 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002798/1.316, allocations: 99.06 kB / 1.119 GB, free: 30.18 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 2.235e-06/1.316, allocations: 3.875 kB / 1.119 GB, free: 30.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0007497/1.316, allocations: 187.8 kB / 1.119 GB, free: 30.14 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.91e-05/1.316, allocations: 67.56 kB / 1.12 GB, free: 30.07 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/1.317, allocations: 119.8 kB / 1.12 GB, free: 29.97 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.713e-05/1.317, allocations: 28.83 kB / 1.12 GB, free: 29.94 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.063e-05/1.317, allocations: 100.8 kB / 1.12 GB, free: 29.85 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/1.317, allocations: 14.69 kB / 1.12 GB, free: 29.84 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.015e-05/1.317, allocations: 2.375 kB / 1.12 GB, free: 29.84 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001714/1.317, allocations: 322 kB / 1.12 GB, free: 29.53 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/1.317, allocations: 31.69 kB / 1.12 GB, free: 29.53 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/1.317, allocations: 80.61 kB / 1.12 GB, free: 29.47 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/1.317, allocations: 36.86 kB / 1.12 GB, free: 29.46 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/1.317, allocations: 0 / 1.12 GB, free: 29.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004202/1.318, allocations: 137.5 kB / 1.12 GB, free: 29.42 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/1.318, allocations: 11.81 kB / 1.12 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/1.318, allocations: 0 / 1.12 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.462e-05/1.318, allocations: 3.906 kB / 1.12 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/1.318, allocations: 18.64 kB / 1.12 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/1.318, allocations: 3.812 kB / 1.12 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/1.318, allocations: 21.16 kB / 1.12 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/1.318, allocations: 7.75 kB / 1.12 GB, free: 29.4 MB / 0.698 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.0001889/1.319, allocations: 136.5 kB / 1.121 GB, free: 29.28 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.352e-05/1.319, allocations: 3.906 kB / 1.121 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.367e-05/1.319, allocations: 15.25 kB / 1.121 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/1.319, allocations: 0 / 1.121 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/1.319, allocations: 0 / 1.121 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/1.319, allocations: 3.375 kB / 1.121 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008759/1.32, allocations: 438.8 kB / 1.121 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/1.32, allocations: 3.656 kB / 1.121 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.16e-05/1.32, allocations: 6.641 kB / 1.121 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/1.32, allocations: 3.625 kB / 1.121 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/1.32, allocations: 3.094 kB / 1.121 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/1.32, allocations: 3.875 kB / 1.121 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.32, allocations: 3.953 kB / 1.121 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006065/1.32, allocations: 258.4 kB / 1.121 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.067e-05/1.32, allocations: 84.89 kB / 1.121 GB, free: 28.72 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.051e-05/1.321, allocations: 3.141 kB / 1.121 GB, free: 28.72 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/1.321, allocations: 7.125 kB / 1.121 GB, free: 28.72 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.199e-05/1.321, allocations: 11.27 kB / 1.121 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-05/1.321, allocations: 5.344 kB / 1.121 GB, free: 28.71 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001082/1.321, allocations: 102.9 kB / 1.121 GB, free: 28.64 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.743e-06/1.321, allocations: 0 / 1.121 GB, free: 28.64 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005071/1.321, allocations: 60.61 kB / 1.122 GB, free: 28.62 MB / 0.698 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.001524/1.323, allocations: 0.8401 MB / 1.122 GB, free: 27.94 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004612/1.324, allocations: 97.19 kB / 1.122 GB, free: 27.93 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/1.324, allocations: 4.312 kB / 1.122 GB, free: 27.93 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001954/1.324, allocations: 59.59 kB / 1.123 GB, free: 27.92 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/1.324, allocations: 8.766 kB / 1.123 GB, free: 27.92 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/1.326, allocations: 1.383 MB / 1.124 GB, free: 26.61 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/1.326, allocations: 0.6959 MB / 1.125 GB, free: 25.91 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.843e-05/1.326, allocations: 12.08 kB / 1.125 GB, free: 25.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.474e-05/1.326, allocations: 25.56 kB / 1.125 GB, free: 25.89 MB / 0.698 GB Notification: Performance of SimCode: time 1.362e-06/1.326, allocations: 0 / 1.125 GB, free: 25.89 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02243/1.349, allocations: 2.818 MB / 1.127 GB, free: 25.64 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002575/1.349, allocations: 244.4 kB / 1.128 GB, free: 25.36 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.564/3.913, allocations: 0 / 1.128 GB, free: 25.36 MB / 0.698 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)