Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",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.412/1.412, allocations: 249.5 MB / 257 MB, free: 6.879 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001208/0.001207, allocations: 184.8 kB / 316.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.611/1.611, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0008662/0.0008661, allocations: 95.36 kB / 0.6714 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.647e-05/1.658e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.1983, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7148/0.9131, allocations: 134 MB / 1.016 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002105/0.9134, allocations: 83.44 kB / 1.016 GB, free: 3.375 MB / 0.6355 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.008553/0.9219, allocations: 3.037 MB / 1.019 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.183e-06/0.922, allocations: 0 / 1.019 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.922, allocations: 0 / 1.019 GB, free: 0.8086 MB / 0.6355 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.0004744/0.9224, allocations: 452.9 kB / 1.02 GB, free: 324 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.9225, allocations: 8.031 kB / 1.02 GB, free: 316 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.967e-05/0.9225, allocations: 13.28 kB / 1.02 GB, free: 304 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.9227, allocations: 175 kB / 1.02 GB, free: 88 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/0.9227, allocations: 4 kB / 1.02 GB, free: 84 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.9227, allocations: 4 kB / 1.02 GB, free: 80 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.603e-05/0.9228, allocations: 26.5 kB / 1.02 GB, free: 64 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.923, allocations: 79.52 kB / 1.02 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.923, allocations: 4 kB / 1.02 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.923, allocations: 0 / 1.02 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.923, allocations: 4 kB / 1.02 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004802/0.9235, allocations: 302.5 kB / 1.02 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.9236, allocations: 56.56 kB / 1.02 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.41e-05/0.9237, allocations: 35.2 kB / 1.02 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.9237, allocations: 3.938 kB / 1.02 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001378/0.9238, allocations: 80.94 kB / 1.02 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.9238, allocations: 1.031 kB / 1.02 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0003094/0.9242, allocations: 138.4 kB / 1.021 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.9242, allocations: 55.39 kB / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.059e-05/0.9243, allocations: 115.7 kB / 1.021 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.9243, allocations: 28.33 kB / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.912e-05/0.9244, allocations: 89.66 kB / 1.021 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.9244, allocations: 25.47 kB / 1.021 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-06/0.9244, allocations: 0 / 1.021 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.9245, allocations: 329.8 kB / 1.021 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.576e-05/0.9246, allocations: 11.62 kB / 1.021 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.807e-05/0.9246, allocations: 67.94 kB / 1.021 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.771e-05/0.9247, allocations: 26.17 kB / 1.021 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.9247, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001582/0.9249, allocations: 113.4 kB / 1.021 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.9249, allocations: 4 kB / 1.021 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.9249, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.9249, allocations: 7.938 kB / 1.021 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.328e-05/0.925, allocations: 15.98 kB / 1.021 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.925, allocations: 4 kB / 1.021 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.552e-05/0.9251, allocations: 7.984 kB / 1.021 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.9251, allocations: 4 kB / 1.021 GB, free: 14.51 MB / 0.6511 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 8.501e-05/0.9252, allocations: 135.2 kB / 1.022 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002132/0.9254, allocations: 129.7 kB / 1.022 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.507e-05/0.9255, allocations: 7.906 kB / 1.022 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.314e-05/0.9255, allocations: 16.17 kB / 1.022 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.9255, allocations: 0 / 1.022 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.9255, allocations: 0 / 1.022 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.9255, allocations: 3.953 kB / 1.022 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004008/0.9259, allocations: 386.1 kB / 1.022 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.9259, allocations: 4 kB / 1.022 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.496e-05/0.926, allocations: 7.984 kB / 1.022 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.926, allocations: 0 / 1.022 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.926, allocations: 4 kB / 1.022 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.926, allocations: 0 / 1.022 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.926, allocations: 3.953 kB / 1.022 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002401/0.9263, allocations: 230.9 kB / 1.022 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.882e-05/0.9263, allocations: 85.02 kB / 1.022 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.121e-05/0.9264, allocations: 4 kB / 1.022 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.792e-05/0.9265, allocations: 7.984 kB / 1.022 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.818e-05/0.9266, allocations: 15.31 kB / 1.022 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.9266, allocations: 0 / 1.022 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.82e-05/0.9266, allocations: 94.45 kB / 1.022 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.41e-07/0.9266, allocations: 0 / 1.022 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003662/0.927, allocations: 51.12 kB / 1.023 GB, free: 13.38 MB / 0.6511 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.000789/0.9278, allocations: 0.8365 MB / 1.023 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001548/0.928, allocations: 75.36 kB / 1.023 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.928, allocations: 0 / 1.023 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.424e-05/0.9281, allocations: 37.5 kB / 1.023 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.9283, allocations: 11.98 kB / 1.023 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004857/0.9288, allocations: 167.2 kB / 1.024 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.929, allocations: 0.6963 MB / 1.024 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.932e-05/0.9291, allocations: 8.125 kB / 1.024 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.364e-05/0.9291, allocations: 24.86 kB / 1.024 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of SimCode: time 2.9e-07/0.9291, allocations: 0 / 1.024 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01864/0.9478, allocations: 2.506 MB / 1.027 GB, free: 9.082 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002032/0.948, allocations: 212.3 kB / 1.027 GB, free: 8.793 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.462/2.41, allocations: 0 / 1.027 GB, free: 8.793 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1)