Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.504/1.504, allocations: 249.3 MB / 261.8 MB, free: 5.895 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.001358/0.001358, allocations: 172.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.687/1.687, allocations: 205.2 MB / 0.572 GB, free: 10.64 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.001177/0.001177, allocations: 82.53 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.354e-05/3.358e-05, allocations: 4 kB / 0.788 GB, free: 97.03 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2305, allocations: 106.3 MB / 0.8919 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7533/0.9838, allocations: 133.7 MB / 1.022 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/0.9842, allocations: 83.52 kB / 1.023 GB, free: 1.035 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.009425/0.9936, allocations: 3.064 MB / 1.026 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9937, allocations: 0 / 1.026 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.9937, allocations: 0 / 1.026 GB, free: 14.41 MB / 0.6511 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.0005684/0.9942, allocations: 445 kB / 1.026 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.9943, allocations: 8.031 kB / 1.026 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.089e-05/0.9944, allocations: 38.55 kB / 1.026 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.509e-05/0.9944, allocations: 15.66 kB / 1.026 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.9946, allocations: 174.9 kB / 1.026 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/0.9946, allocations: 4 kB / 1.026 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.9946, allocations: 6.812 kB / 1.026 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.9948, allocations: 83.27 kB / 1.026 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.9948, allocations: 0 / 1.026 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.9949, allocations: 0 / 1.026 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.9949, allocations: 0 / 1.026 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.664e-05/0.995, allocations: 38.98 kB / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005829/0.9956, allocations: 328.2 kB / 1.027 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.9957, allocations: 59.12 kB / 1.027 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.113e-05/0.9958, allocations: 37.48 kB / 1.027 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.9958, allocations: 0 / 1.027 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001448/0.996, allocations: 91.84 kB / 1.027 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 1.773e-06/0.996, allocations: 0 / 1.027 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0003117/0.9963, allocations: 144.9 kB / 1.027 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.9964, allocations: 51.41 kB / 1.027 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.9965, allocations: 114.7 kB / 1.027 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.9965, allocations: 33.14 kB / 1.027 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.84e-05/0.9966, allocations: 87.81 kB / 1.027 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.9966, allocations: 27.22 kB / 1.027 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-06/0.9966, allocations: 11.44 kB / 1.027 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.9967, allocations: 318.6 kB / 1.028 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.293e-05/0.9968, allocations: 22.75 kB / 1.028 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.648e-05/0.9969, allocations: 61.55 kB / 1.028 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.08e-05/0.9969, allocations: 35.84 kB / 1.028 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.9969, allocations: 0 / 1.028 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001889/0.9971, allocations: 121.6 kB / 1.028 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.9971, allocations: 4 kB / 1.028 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.9972, allocations: 4 kB / 1.028 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.9972, allocations: 4.25 kB / 1.028 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.9973, allocations: 23.86 kB / 1.028 GB, free: 12 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.9973, allocations: 11.89 kB / 1.028 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.506e-05/0.9974, allocations: 7.625 kB / 1.028 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.9974, allocations: 8 kB / 1.028 GB, free: 11.98 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 7.9e-05/0.9975, allocations: 113.5 kB / 1.028 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.908e-05/0.9975, allocations: 7.906 kB / 1.028 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.034e-05/0.9976, allocations: 19.98 kB / 1.028 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.9976, allocations: 4 kB / 1.028 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.9976, allocations: 0 / 1.028 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/0.9976, allocations: 3.953 kB / 1.028 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004783/0.9981, allocations: 414.5 kB / 1.028 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.9981, allocations: 0 / 1.028 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.461e-05/0.9981, allocations: 4 kB / 1.028 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.9982, allocations: 4 kB / 1.028 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.9982, allocations: 7.984 kB / 1.028 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.057e-05/0.9982, allocations: 8.578 kB / 1.028 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.9982, allocations: 0 / 1.028 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002861/0.9985, allocations: 234.7 kB / 1.029 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.494e-05/0.9986, allocations: 77.11 kB / 1.029 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.9986, allocations: 4 kB / 1.029 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.9987, allocations: 11.48 kB / 1.029 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.72e-05/0.9987, allocations: 7.953 kB / 1.029 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.9988, allocations: 7.984 kB / 1.029 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.252e-05/0.9988, allocations: 99.28 kB / 1.029 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9988, allocations: 0 / 1.029 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003205/0.9992, allocations: 51.17 kB / 1.029 GB, free: 10.93 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.0009298/1, allocations: 0.8485 MB / 1.03 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001792/1, allocations: 71.61 kB / 1.03 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1, allocations: 4 kB / 1.03 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.232e-05/1, allocations: 40.55 kB / 1.03 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/1.001, allocations: 15.39 kB / 1.03 GB, free: 10 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005664/1.001, allocations: 180.2 kB / 1.03 GB, free: 9.809 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/1.002, allocations: 0.6929 MB / 1.031 GB, free: 9.09 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.579e-05/1.002, allocations: 7.984 kB / 1.031 GB, free: 9.082 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.193e-05/1.002, allocations: 18.31 kB / 1.031 GB, free: 9.074 MB / 0.6511 GB Notification: Performance of SimCode: time 2.565e-06/1.002, allocations: 3.938 kB / 1.031 GB, free: 9.07 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01487/1.017, allocations: 2.843 MB / 1.033 GB, free: 6.391 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001872/1.017, allocations: 225 kB / 1.034 GB, free: 6.168 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.599/2.616, allocations: 0 / 1.034 GB, free: 6.168 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1)