Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.587/2.587, allocations: 284.9 MB / 292.4 MB, free: 10.56 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.001478/0.001478, allocations: 188.7 kB / 360.6 MB, free: 7.289 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.252/2.252, allocations: 205.2 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.001034/0.001034, allocations: 92.23 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.525e-05/2.535e-05, allocations: 4 kB / 0.8508 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8479/0.848, allocations: 115.3 MB / 0.9634 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2863/1.134, allocations: 139.2 MB / 1.099 GB, free: 1.266 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003168/1.135, allocations: 79.95 kB / 1.099 GB, free: 1.188 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.15, allocations: 3.028 MB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.473e-06/1.15, allocations: 0.6875 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.025e-05/1.15, allocations: 8 kB / 1.102 GB, free: 14.2 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.0007681/1.15, allocations: 460 kB / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/1.151, allocations: 8.594 kB / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.097e-05/1.151, allocations: 8.531 kB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/1.151, allocations: 176.2 kB / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.145e-05/1.151, allocations: 16.56 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.095e-05/1.151, allocations: 4.844 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001343/1.151, allocations: 28 kB / 1.103 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/1.151, allocations: 78.08 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/1.151, allocations: 0.7188 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/1.151, allocations: 0 / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/1.151, allocations: 4.594 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007369/1.152, allocations: 295.8 kB / 1.103 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/1.152, allocations: 51.45 kB / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/1.152, allocations: 44.88 kB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/1.152, allocations: 2.875 kB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002027/1.153, allocations: 79.38 kB / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.963e-06/1.153, allocations: 0 / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0004754/1.153, allocations: 135 kB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/1.153, allocations: 51.41 kB / 1.104 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/1.153, allocations: 115 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/1.153, allocations: 29.7 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.239e-05/1.153, allocations: 96.27 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.396e-05/1.153, allocations: 19.75 kB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.086e-06/1.153, allocations: 0.5 kB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001367/1.154, allocations: 326.8 kB / 1.104 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.509e-05/1.154, allocations: 20 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.955e-05/1.154, allocations: 62.98 kB / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.977e-05/1.154, allocations: 31.92 kB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/1.154, allocations: 0 / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002576/1.154, allocations: 105.4 kB / 1.105 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/1.154, allocations: 8 kB / 1.105 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/1.154, allocations: 3.188 kB / 1.105 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/1.154, allocations: 4 kB / 1.105 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/1.154, allocations: 15.98 kB / 1.105 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/1.154, allocations: 4.156 kB / 1.105 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/1.155, allocations: 13.22 kB / 1.105 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/1.155, 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.0001195/1.155, allocations: 126.6 kB / 1.105 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003695/1.155, allocations: 133.5 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.244e-05/1.155, allocations: 4 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.874e-05/1.155, allocations: 4.625 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.457e-06/1.155, allocations: 8 kB / 1.105 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/1.155, allocations: 0 / 1.105 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/1.155, allocations: 7.938 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006975/1.156, allocations: 387.1 kB / 1.105 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/1.156, allocations: 96 / 1.105 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.291e-05/1.156, allocations: 11.3 kB / 1.105 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/1.156, allocations: 3.984 kB / 1.105 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/1.156, allocations: 4 kB / 1.105 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/1.156, allocations: 4 kB / 1.105 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/1.156, allocations: 9.75 kB / 1.105 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004156/1.157, allocations: 228.2 kB / 1.105 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.993e-05/1.157, allocations: 81.02 kB / 1.106 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.646e-05/1.157, allocations: 4 kB / 1.106 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/1.157, allocations: 9.203 kB / 1.106 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.099e-05/1.157, allocations: 11.94 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/1.157, allocations: 4 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.093e-05/1.157, allocations: 100.5 kB / 1.106 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.31e-07/1.157, allocations: 0 / 1.106 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005027/1.158, allocations: 51.94 kB / 1.106 GB, free: 10.47 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.001142/1.159, allocations: 0.8338 MB / 1.107 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002603/1.159, allocations: 67.92 kB / 1.107 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.159, allocations: 0 / 1.107 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000113/1.159, allocations: 39.94 kB / 1.107 GB, free: 9.527 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/1.159, allocations: 11.64 kB / 1.107 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007172/1.16, allocations: 180.7 kB / 1.107 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/1.161, allocations: 0.6923 MB / 1.107 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.36e-05/1.161, allocations: 7.984 kB / 1.107 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.177e-05/1.161, allocations: 19.44 kB / 1.107 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of SimCode: time 9.22e-07/1.161, allocations: 0 / 1.107 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03894/1.2, allocations: 2.491 MB / 1.11 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003855/1.2, allocations: 193 kB / 1.11 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.475/3.676, allocations: 0 / 1.11 GB, free: 5.875 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1)