Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.787/1.787, allocations: 285.6 MB / 293.1 MB, free: 10.22 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.001046/0.001046, allocations: 176.9 kB / 361.4 MB, free: 6.828 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.506/1.506, allocations: 205.2 MB / 0.62 GB, free: 11.65 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.0008523/0.0008526, allocations: 95.7 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.07e-05/2.072e-05, allocations: 4 kB / 0.8518 GB, free: 2.629 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.76/0.7601, allocations: 115.3 MB / 0.9644 GB, free: 78.71 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2781/1.038, allocations: 139.3 MB / 1.101 GB, free: 412 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000437/1.039, allocations: 84.52 kB / 1.101 GB, free: 328 kB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.01641/1.055, allocations: 3.029 MB / 1.104 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.084e-06/1.055, allocations: 0 / 1.104 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.928e-06/1.055, allocations: 0.625 kB / 1.104 GB, free: 13.34 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.0008301/1.056, allocations: 463.1 kB / 1.104 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.312e-05/1.056, allocations: 8.031 kB / 1.104 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.914e-05/1.056, allocations: 13.28 kB / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/1.057, allocations: 175.5 kB / 1.104 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.038e-05/1.057, allocations: 7.984 kB / 1.104 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.002e-05/1.057, allocations: 4.562 kB / 1.104 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000165/1.057, allocations: 31.94 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002234/1.057, allocations: 74.3 kB / 1.104 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/1.057, allocations: 0.5938 kB / 1.104 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/1.057, allocations: 0 / 1.104 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/1.057, allocations: 5 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00079/1.058, allocations: 296.7 kB / 1.105 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/1.058, allocations: 62.58 kB / 1.105 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.41e-05/1.058, allocations: 32.86 kB / 1.105 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.984e-05/1.058, allocations: 1.031 kB / 1.105 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002006/1.059, allocations: 86 kB / 1.105 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 2.545e-06/1.059, allocations: 0 / 1.105 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0005019/1.059, allocations: 129.5 kB / 1.105 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/1.059, allocations: 58.69 kB / 1.105 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/1.059, allocations: 115.2 kB / 1.105 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/1.059, allocations: 25.7 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.097e-05/1.059, allocations: 99.77 kB / 1.105 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.817e-05/1.059, allocations: 19.75 kB / 1.105 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.977e-06/1.059, allocations: 0 / 1.105 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.00017/1.06, allocations: 322.8 kB / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.253e-05/1.06, allocations: 20 kB / 1.106 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/1.06, allocations: 67.72 kB / 1.106 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/1.06, allocations: 36.66 kB / 1.106 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/1.06, allocations: 0 / 1.106 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002946/1.06, allocations: 101.5 kB / 1.106 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/1.06, allocations: 8 kB / 1.106 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/1.06, allocations: 0 / 1.106 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.387e-05/1.06, allocations: 4 kB / 1.106 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/1.061, allocations: 19.98 kB / 1.106 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.609e-05/1.061, allocations: 11.14 kB / 1.106 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/1.061, allocations: 15.06 kB / 1.106 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.834e-05/1.061, allocations: 7.984 kB / 1.106 GB, free: 10.86 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.0001378/1.061, allocations: 114.7 kB / 1.106 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004153/1.061, allocations: 133.5 kB / 1.106 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.171e-05/1.061, allocations: 4 kB / 1.106 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.822e-05/1.061, allocations: 8.625 kB / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/1.062, allocations: 7.984 kB / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/1.062, allocations: 4 kB / 1.106 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/1.062, allocations: 0 / 1.106 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007503/1.062, allocations: 393.8 kB / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/1.062, allocations: 0 / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.149e-05/1.062, allocations: 7.984 kB / 1.106 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/1.062, allocations: 0 / 1.106 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/1.062, allocations: 0 / 1.106 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/1.063, allocations: 4 kB / 1.106 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.063, allocations: 0 / 1.106 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004734/1.063, allocations: 235.3 kB / 1.107 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.537e-05/1.063, allocations: 81.02 kB / 1.107 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.792e-05/1.063, allocations: 11.98 kB / 1.107 GB, free: 9.789 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/1.063, allocations: 4 kB / 1.107 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.508e-05/1.063, allocations: 7.984 kB / 1.107 GB, free: 9.777 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/1.063, allocations: 0 / 1.107 GB, free: 9.777 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.548e-05/1.064, allocations: 99.97 kB / 1.107 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.31e-07/1.064, allocations: 7.938 kB / 1.107 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006502/1.064, allocations: 51.94 kB / 1.107 GB, free: 9.621 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.001344/1.066, allocations: 0.839 MB / 1.108 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002715/1.066, allocations: 71.92 kB / 1.108 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.066, allocations: 0 / 1.108 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001278/1.066, allocations: 41.98 kB / 1.108 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/1.066, allocations: 12 kB / 1.108 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008102/1.067, allocations: 168.6 kB / 1.108 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/1.068, allocations: 0.6963 MB / 1.109 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.793e-05/1.068, allocations: 7.984 kB / 1.109 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.564e-05/1.068, allocations: 19.44 kB / 1.109 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of SimCode: time 3.81e-07/1.068, allocations: 0 / 1.109 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02648/1.094, allocations: 2.496 MB / 1.111 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003613/1.095, allocations: 207.1 kB / 1.111 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.588/2.683, allocations: 0 / 1.111 GB, free: 4.984 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1)