Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.523/1.523, allocations: 251.9 MB / 266.8 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00116/0.00116, allocations: 175.7 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.042/2.042, allocations: 205.4 MB / 0.5775 GB, free: 20.3 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009651/0.000965, allocations: 91.8 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000355/0.000355, allocations: 9.031 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2698, allocations: 106.3 MB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2149/0.4847, allocations: 133.8 MB / 1.031 GB, free: 9.879 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/0.485, allocations: 79.95 kB / 1.031 GB, free: 9.801 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.009037/0.494, allocations: 3.067 MB / 1.034 GB, free: 6.73 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.736e-06/0.4941, allocations: 4 kB / 1.034 GB, free: 6.727 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.4941, allocations: 4 kB / 1.034 GB, free: 6.723 MB / 0.6823 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.0005318/0.4946, allocations: 470.3 kB / 1.034 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.4947, allocations: 11.97 kB / 1.034 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.67e-05/0.4947, allocations: 38.56 kB / 1.034 GB, free: 6.145 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.297e-05/0.4948, allocations: 7.906 kB / 1.034 GB, free: 6.137 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.4949, allocations: 175 kB / 1.035 GB, free: 5.926 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.4949, allocations: 4 kB / 1.035 GB, free: 5.922 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.495, allocations: 8 kB / 1.035 GB, free: 5.914 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000228/0.4952, allocations: 93.56 kB / 1.035 GB, free: 5.816 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.4952, allocations: 4 kB / 1.035 GB, free: 5.812 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.4952, allocations: 7.938 kB / 1.035 GB, free: 5.805 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.4952, allocations: 0 / 1.035 GB, free: 5.805 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.4954, allocations: 47.97 kB / 1.035 GB, free: 5.758 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005397/0.4959, allocations: 328.7 kB / 1.035 GB, free: 5.387 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/0.4961, allocations: 74.58 kB / 1.035 GB, free: 5.305 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.4961, allocations: 0 / 1.035 GB, free: 5.305 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000201/0.4964, allocations: 103.3 kB / 1.035 GB, free: 5.191 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=9): time 2.905e-06/0.4964, allocations: 3.984 kB / 1.035 GB, free: 5.188 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9): time 0.0004523/0.4968, allocations: 193.5 kB / 1.035 GB, free: 4.992 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/0.4969, allocations: 67.34 kB / 1.035 GB, free: 4.914 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.16e-05/0.497, allocations: 115.2 kB / 1.036 GB, free: 4.797 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.497, allocations: 25.7 kB / 1.036 GB, free: 4.766 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.898e-05/0.4971, allocations: 92.38 kB / 1.036 GB, free: 4.668 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.4971, allocations: 23.7 kB / 1.036 GB, free: 4.645 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-06/0.4971, allocations: 0 / 1.036 GB, free: 4.645 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.4973, allocations: 322.8 kB / 1.036 GB, free: 4.32 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.206e-05/0.4973, allocations: 35.92 kB / 1.036 GB, free: 4.285 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.4975, allocations: 81.33 kB / 1.036 GB, free: 4.188 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.147e-05/0.4976, allocations: 39.98 kB / 1.036 GB, free: 4.148 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4976, allocations: 0 / 1.036 GB, free: 4.148 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002586/0.4978, allocations: 141.5 kB / 1.036 GB, free: 4.004 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.4979, allocations: 8 kB / 1.036 GB, free: 3.996 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.4979, allocations: 0 / 1.036 GB, free: 3.996 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.4979, allocations: 4 kB / 1.036 GB, free: 3.992 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.897e-05/0.498, allocations: 15.98 kB / 1.036 GB, free: 3.977 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.498, allocations: 0 / 1.036 GB, free: 3.977 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.257e-05/0.4981, allocations: 23.88 kB / 1.036 GB, free: 3.953 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.4981, allocations: 4 kB / 1.036 GB, free: 3.949 MB / 0.6823 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.526e-05/0.4982, allocations: 132.9 kB / 1.036 GB, free: 3.812 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.695e-05/0.4982, allocations: 7.906 kB / 1.036 GB, free: 3.805 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.552e-05/0.4983, allocations: 4.375 kB / 1.036 GB, free: 3.801 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.4983, allocations: 4 kB / 1.036 GB, free: 3.797 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.4983, allocations: 0 / 1.036 GB, free: 3.797 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/0.4983, allocations: 3.984 kB / 1.036 GB, free: 3.793 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000537/0.4988, allocations: 446.6 kB / 1.037 GB, free: 3.301 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.4989, allocations: 0 / 1.037 GB, free: 3.301 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.84e-05/0.4989, allocations: 7.938 kB / 1.037 GB, free: 3.293 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.4989, allocations: 0 / 1.037 GB, free: 3.293 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.4989, allocations: 7.984 kB / 1.037 GB, free: 3.285 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.4989, allocations: 0 / 1.037 GB, free: 3.285 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.4989, allocations: 3.953 kB / 1.037 GB, free: 3.281 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003467/0.4993, allocations: 255.4 kB / 1.037 GB, free: 3.016 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.195e-05/0.4993, allocations: 81.02 kB / 1.037 GB, free: 2.918 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.4994, allocations: 0 / 1.037 GB, free: 2.918 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.4995, allocations: 11.98 kB / 1.037 GB, free: 2.906 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.4995, allocations: 7.891 kB / 1.037 GB, free: 2.898 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.4995, allocations: 11.98 kB / 1.037 GB, free: 2.887 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.262e-05/0.4996, allocations: 99.27 kB / 1.037 GB, free: 2.789 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4996, allocations: 0 / 1.037 GB, free: 2.789 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002955/0.4999, allocations: 51.94 kB / 1.037 GB, free: 2.738 MB / 0.6823 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.0008918/0.5008, allocations: 0.8587 MB / 1.038 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002642/0.5011, allocations: 96.02 kB / 1.038 GB, free: 1.773 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.5011, allocations: 8.125 kB / 1.038 GB, free: 1.766 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.5012, allocations: 47.98 kB / 1.038 GB, free: 1.719 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001857/0.5014, allocations: 15.11 kB / 1.038 GB, free: 1.707 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.5025, allocations: 1.376 MB / 1.04 GB, free: 252 kB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.5028, allocations: 0.6926 MB / 1.04 GB, free: 15.53 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.122e-05/0.5029, allocations: 15.98 kB / 1.04 GB, free: 15.51 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.269e-05/0.5029, allocations: 16.56 kB / 1.04 GB, free: 15.5 MB / 0.698 GB Notification: Performance of SimCode: time 5.51e-07/0.5029, allocations: 4 kB / 1.04 GB, free: 15.49 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01384/0.5168, allocations: 2.791 MB / 1.043 GB, free: 12.89 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001951/0.517, allocations: 259.3 kB / 1.043 GB, free: 12.55 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.499/2.016, allocations: 3.234 kB / 1.043 GB, free: 12.55 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1)