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.843/1.843, allocations: 289.7 MB / 302.2 MB, free: 2.133 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.001175/0.001175, allocations: 180.8 kB / 371.6 MB, free: 3.371 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.676/1.676, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.001075/0.001075, allocations: 96.31 kB / 0.745 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.441e-05/3.444e-05, allocations: 0 / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3018, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.986/1.288, allocations: 141 MB / 1.118 GB, free: 43.09 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/1.288, allocations: 82.22 kB / 1.118 GB, free: 43.06 MB / 0.7448 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.008493/1.297, allocations: 3.044 MB / 1.121 GB, free: 41.3 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.703e-06/1.297, allocations: 0 / 1.121 GB, free: 41.3 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.793e-06/1.297, allocations: 0 / 1.121 GB, free: 41.3 MB / 0.7448 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.0004135/1.297, allocations: 455 kB / 1.121 GB, free: 40.83 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/1.297, allocations: 11.55 kB / 1.121 GB, free: 40.82 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.525e-05/1.297, allocations: 42.5 kB / 1.121 GB, free: 40.77 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.791e-05/1.297, allocations: 11.28 kB / 1.121 GB, free: 40.77 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/1.297, allocations: 170.3 kB / 1.121 GB, free: 40.56 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/1.297, allocations: 7.328 kB / 1.121 GB, free: 40.56 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/1.297, allocations: 7.875 kB / 1.121 GB, free: 40.55 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/1.298, allocations: 78.58 kB / 1.121 GB, free: 40.5 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/1.298, allocations: 0.7031 kB / 1.121 GB, free: 40.5 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/1.298, allocations: 3.875 kB / 1.121 GB, free: 40.5 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/1.298, allocations: 0 / 1.121 GB, free: 40.5 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.356e-05/1.298, allocations: 34.72 kB / 1.121 GB, free: 40.48 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004907/1.298, allocations: 333 kB / 1.122 GB, free: 40.16 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/1.298, allocations: 54.52 kB / 1.122 GB, free: 40.12 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.096e-05/1.298, allocations: 39.56 kB / 1.122 GB, free: 40.09 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/1.298, allocations: 0 / 1.122 GB, free: 40.09 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001466/1.299, allocations: 94.88 kB / 1.122 GB, free: 40.02 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.462e-06/1.299, allocations: 0 / 1.122 GB, free: 40.02 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0002917/1.299, allocations: 137.9 kB / 1.122 GB, free: 39.92 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/1.299, allocations: 58.64 kB / 1.122 GB, free: 39.85 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.556e-05/1.299, allocations: 116.3 kB / 1.122 GB, free: 39.74 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/1.299, allocations: 33.58 kB / 1.122 GB, free: 39.71 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.987e-05/1.299, allocations: 92.03 kB / 1.122 GB, free: 39.61 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/1.299, allocations: 23.48 kB / 1.122 GB, free: 39.6 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.524e-06/1.299, allocations: 7.938 kB / 1.122 GB, free: 39.59 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.216e-05/1.299, allocations: 317.8 kB / 1.123 GB, free: 39.28 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.913e-05/1.299, allocations: 19.69 kB / 1.123 GB, free: 39.27 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.939e-05/1.299, allocations: 73.38 kB / 1.123 GB, free: 39.19 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.23e-05/1.299, allocations: 31.16 kB / 1.123 GB, free: 39.17 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.299, allocations: 0 / 1.123 GB, free: 39.17 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001536/1.3, allocations: 122.7 kB / 1.123 GB, free: 39.07 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/1.3, allocations: 5.25 kB / 1.123 GB, free: 39.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/1.3, allocations: 9.375 kB / 1.123 GB, free: 39.06 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/1.3, allocations: 0 / 1.123 GB, free: 39.06 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.973e-05/1.3, allocations: 15.28 kB / 1.123 GB, free: 39.05 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/1.3, allocations: 7.938 kB / 1.123 GB, free: 39.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.187e-05/1.3, allocations: 11.86 kB / 1.123 GB, free: 39.03 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/1.3, allocations: 11.94 kB / 1.123 GB, free: 39.02 MB / 0.7448 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 6.696e-05/1.3, allocations: 117.9 kB / 1.123 GB, free: 38.91 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.399e-05/1.3, allocations: 8 kB / 1.123 GB, free: 38.9 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.062e-05/1.3, allocations: 8.438 kB / 1.123 GB, free: 38.9 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/1.3, allocations: 4.516 kB / 1.123 GB, free: 38.89 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/1.3, allocations: 0.5625 kB / 1.123 GB, free: 38.89 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/1.3, allocations: 0 / 1.123 GB, free: 38.89 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003506/1.3, allocations: 417.6 kB / 1.123 GB, free: 38.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/1.3, allocations: 0 / 1.123 GB, free: 38.52 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.339e-05/1.3, allocations: 12.69 kB / 1.123 GB, free: 38.51 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/1.3, allocations: 1.031 kB / 1.123 GB, free: 38.51 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/1.3, allocations: 8 kB / 1.123 GB, free: 38.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/1.3, allocations: 4.203 kB / 1.123 GB, free: 38.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.3, allocations: 4.578 kB / 1.123 GB, free: 38.5 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002121/1.301, allocations: 232.6 kB / 1.124 GB, free: 38.3 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.485e-05/1.301, allocations: 81.02 kB / 1.124 GB, free: 38.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/1.301, allocations: 8.5 kB / 1.124 GB, free: 38.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.344e-05/1.301, allocations: 7.328 kB / 1.124 GB, free: 38.19 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/1.301, allocations: 12.27 kB / 1.124 GB, free: 38.18 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/1.301, allocations: 3.953 kB / 1.124 GB, free: 38.18 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.665e-05/1.301, allocations: 100 kB / 1.124 GB, free: 38.09 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/1.301, allocations: 0 / 1.124 GB, free: 38.09 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003052/1.301, allocations: 56.3 kB / 1.124 GB, free: 38.05 MB / 0.7448 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.0006644/1.302, allocations: 0.8419 MB / 1.125 GB, free: 37.25 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001533/1.302, allocations: 74.64 kB / 1.125 GB, free: 37.2 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/1.302, allocations: 0 / 1.125 GB, free: 37.2 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.784e-05/1.302, allocations: 37 kB / 1.125 GB, free: 37.18 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/1.302, allocations: 21.86 kB / 1.125 GB, free: 37.16 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004439/1.303, allocations: 174.7 kB / 1.125 GB, free: 36.99 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/1.303, allocations: 0.6946 MB / 1.126 GB, free: 36.28 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.895e-05/1.303, allocations: 7.281 kB / 1.126 GB, free: 36.28 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.247e-05/1.303, allocations: 26.06 kB / 1.126 GB, free: 36.27 MB / 0.7448 GB Notification: Performance of SimCode: time 2.4e-07/1.303, allocations: 4 kB / 1.126 GB, free: 36.27 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01419/1.317, allocations: 2.813 MB / 1.129 GB, free: 34.72 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001453/1.317, allocations: 219.8 kB / 1.129 GB, free: 34.49 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.686/3.003, allocations: 8 kB / 1.129 GB, free: 34.48 MB / 0.7448 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)