Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.962/1.962, allocations: 292.6 MB / 307.5 MB, free: 5.207 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.001089/0.001089, allocations: 173 kB / 377.1 MB, free: 1.535 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.601/1.601, allocations: 205.4 MB / 0.6366 GB, free: 8.645 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.0008965/0.0008964, allocations: 93 kB / 0.7509 GB, free: 63.14 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003981/0.000399, allocations: 8 kB / 0.8749 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3165, allocations: 116.3 MB / 0.9884 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.763/1.08, allocations: 141 MB / 1.126 GB, free: 34.01 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/1.08, allocations: 85.88 kB / 1.126 GB, free: 33.94 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.008415/1.088, allocations: 3.07 MB / 1.129 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.116e-06/1.088, allocations: 0 / 1.129 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.794e-06/1.088, allocations: 0.6562 kB / 1.129 GB, free: 31.73 MB / 0.7292 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.0004768/1.089, allocations: 457.8 kB / 1.13 GB, free: 31.23 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/1.089, allocations: 8.031 kB / 1.13 GB, free: 31.23 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.671e-05/1.089, allocations: 42.69 kB / 1.13 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.745e-05/1.089, allocations: 15.78 kB / 1.13 GB, free: 31.17 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.445e-05/1.089, allocations: 175 kB / 1.13 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.431e-05/1.089, allocations: 18.89 kB / 1.13 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/1.089, allocations: 4.562 kB / 1.13 GB, free: 30.94 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002165/1.089, allocations: 88.84 kB / 1.13 GB, free: 30.87 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/1.089, allocations: 0 / 1.13 GB, free: 30.87 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/1.089, allocations: 0 / 1.13 GB, free: 30.87 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/1.089, allocations: 0 / 1.13 GB, free: 30.87 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/1.09, allocations: 58.31 kB / 1.13 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004873/1.09, allocations: 324.1 kB / 1.13 GB, free: 30.49 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/1.09, allocations: 70.03 kB / 1.13 GB, free: 30.42 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/1.09, allocations: 4 kB / 1.13 GB, free: 30.42 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001792/1.09, allocations: 98.17 kB / 1.131 GB, free: 30.33 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.422e-06/1.09, allocations: 0 / 1.131 GB, free: 30.33 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0004412/1.091, allocations: 198.6 kB / 1.131 GB, free: 30.15 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/1.091, allocations: 56.34 kB / 1.131 GB, free: 30.09 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.835e-05/1.091, allocations: 120.8 kB / 1.131 GB, free: 29.97 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/1.091, allocations: 29.7 kB / 1.131 GB, free: 29.93 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.89e-05/1.091, allocations: 95.61 kB / 1.131 GB, free: 29.84 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.813e-05/1.091, allocations: 19.95 kB / 1.131 GB, free: 29.82 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-06/1.091, allocations: 8 kB / 1.131 GB, free: 29.81 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.08e-05/1.091, allocations: 322.3 kB / 1.131 GB, free: 29.49 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.217e-05/1.091, allocations: 23.47 kB / 1.131 GB, free: 29.47 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.764e-05/1.091, allocations: 83.95 kB / 1.131 GB, free: 29.38 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.13e-05/1.091, allocations: 36.25 kB / 1.131 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/1.091, allocations: 0.8438 kB / 1.132 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002137/1.092, allocations: 140.4 kB / 1.132 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/1.092, allocations: 8 kB / 1.132 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/1.092, allocations: 0 / 1.132 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/1.092, allocations: 4 kB / 1.132 GB, free: 29.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.876e-05/1.092, allocations: 23.31 kB / 1.132 GB, free: 29.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/1.092, allocations: 0 / 1.132 GB, free: 29.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.424e-05/1.092, allocations: 20.5 kB / 1.132 GB, free: 29.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/1.092, allocations: 7.953 kB / 1.132 GB, free: 29.16 MB / 0.7292 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 7.255e-05/1.092, allocations: 126.2 kB / 1.132 GB, free: 29.03 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.54e-05/1.092, allocations: 11.84 kB / 1.132 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.038e-05/1.092, allocations: 8.375 kB / 1.132 GB, free: 29.01 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/1.092, allocations: 4 kB / 1.132 GB, free: 29.01 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/1.092, allocations: 5.797 kB / 1.132 GB, free: 29 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/1.092, allocations: 3.328 kB / 1.132 GB, free: 29 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004427/1.093, allocations: 434.5 kB / 1.132 GB, free: 28.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/1.093, allocations: 0 / 1.132 GB, free: 28.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.85e-05/1.093, allocations: 4.5 kB / 1.132 GB, free: 28.56 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/1.093, allocations: 3.094 kB / 1.132 GB, free: 28.56 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/1.093, allocations: 8 kB / 1.132 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/1.093, allocations: 0 / 1.132 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.093, allocations: 5.562 kB / 1.132 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002863/1.093, allocations: 254.9 kB / 1.133 GB, free: 28.3 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.777e-05/1.093, allocations: 84.72 kB / 1.133 GB, free: 28.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/1.093, allocations: 4 kB / 1.133 GB, free: 28.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/1.093, allocations: 12 kB / 1.133 GB, free: 28.19 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/1.093, allocations: 3.859 kB / 1.133 GB, free: 28.19 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/1.093, allocations: 6.859 kB / 1.133 GB, free: 28.19 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.063e-05/1.093, allocations: 100.3 kB / 1.133 GB, free: 28.09 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.093, allocations: 0.9375 kB / 1.133 GB, free: 28.09 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003074/1.094, allocations: 59.2 kB / 1.133 GB, free: 28.04 MB / 0.7292 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.0007458/1.094, allocations: 0.8558 MB / 1.134 GB, free: 27.21 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002424/1.095, allocations: 99.31 kB / 1.134 GB, free: 27.12 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/1.095, allocations: 7.938 kB / 1.134 GB, free: 27.11 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001106/1.095, allocations: 56.08 kB / 1.134 GB, free: 27.07 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/1.095, allocations: 11.89 kB / 1.134 GB, free: 27.06 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007986/1.096, allocations: 1.374 MB / 1.135 GB, free: 25.64 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/1.096, allocations: 0.6948 MB / 1.136 GB, free: 24.93 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.108e-05/1.096, allocations: 7.422 kB / 1.136 GB, free: 24.93 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.186e-05/1.096, allocations: 19.38 kB / 1.136 GB, free: 24.91 MB / 0.7292 GB Notification: Performance of SimCode: time 2.4e-07/1.096, allocations: 4 kB / 1.136 GB, free: 24.91 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01587/1.112, allocations: 2.79 MB / 1.139 GB, free: 23.39 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001599/1.112, allocations: 256.3 kB / 1.139 GB, free: 23.14 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.823/2.936, allocations: 0 / 1.139 GB, free: 23.14 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.fmu > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1)