Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",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.505/1.505, allocations: 249.3 MB / 261.9 MB, free: 5.91 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.001075/0.001075, 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.764/1.764, allocations: 205.1 MB / 0.572 GB, free: 10.7 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.0008751/0.000875, allocations: 88.34 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.594e-05/4.597e-05, allocations: 7.984 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2423, allocations: 106.3 MB / 0.8919 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8021/1.044, allocations: 133.8 MB / 1.023 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004044/1.045, allocations: 86.62 kB / 1.023 GB, free: 0.8633 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.01073/1.056, allocations: 3.147 MB / 1.026 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.124e-06/1.056, allocations: 0 / 1.026 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.448e-06/1.056, allocations: 0 / 1.026 GB, free: 14.17 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000889/1.057, allocations: 469.2 kB / 1.026 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.282e-05/1.057, allocations: 12.03 kB / 1.026 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.608e-05/1.057, allocations: 33.5 kB / 1.026 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.492e-05/1.057, allocations: 7.906 kB / 1.026 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/1.057, allocations: 178.9 kB / 1.026 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/1.057, allocations: 41.56 kB / 1.026 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/1.057, allocations: 4 kB / 1.026 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/1.058, allocations: 68.47 kB / 1.027 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/1.058, allocations: 0 / 1.027 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/1.058, allocations: 7.625 kB / 1.027 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/1.058, allocations: 0 / 1.027 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/1.058, allocations: 33.17 kB / 1.027 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008882/1.059, allocations: 340.2 kB / 1.027 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/1.059, allocations: 60.88 kB / 1.027 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.798e-05/1.059, allocations: 27.86 kB / 1.027 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.612e-05/1.059, allocations: 4 kB / 1.027 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002445/1.059, allocations: 81.41 kB / 1.027 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 2.154e-06/1.059, allocations: 0 / 1.027 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.0004109/1.06, allocations: 122.9 kB / 1.027 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/1.06, allocations: 59.41 kB / 1.027 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/1.06, allocations: 120.9 kB / 1.027 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.563e-05/1.06, allocations: 25.7 kB / 1.027 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.326e-05/1.06, allocations: 101.5 kB / 1.027 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.922e-05/1.06, allocations: 18.89 kB / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.002e-05/1.06, allocations: 3.062 kB / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001578/1.06, allocations: 318.5 kB / 1.028 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.907e-05/1.06, allocations: 22.25 kB / 1.028 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/1.061, allocations: 63.27 kB / 1.028 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.841e-05/1.061, allocations: 30.98 kB / 1.028 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/1.061, allocations: 96 / 1.028 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003088/1.061, allocations: 122.2 kB / 1.028 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/1.061, allocations: 11.94 kB / 1.028 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/1.061, allocations: 3.984 kB / 1.028 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/1.061, allocations: 4.094 kB / 1.028 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/1.061, allocations: 27.05 kB / 1.028 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/1.061, allocations: 0 / 1.028 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/1.062, allocations: 20.05 kB / 1.028 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.197e-05/1.062, allocations: 10.94 kB / 1.028 GB, free: 11.69 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,lig.occ,$PRE.occ.pulseStart,occ.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000123/1.062, allocations: 115.9 kB / 1.028 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.897e-05/1.062, allocations: 7.906 kB / 1.028 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.723e-05/1.062, allocations: 19.73 kB / 1.028 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/1.062, allocations: 0 / 1.028 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/1.062, allocations: 3.953 kB / 1.028 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/1.062, allocations: 0 / 1.028 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007536/1.063, allocations: 405.3 kB / 1.029 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/1.063, allocations: 0 / 1.029 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/1.063, allocations: 11.98 kB / 1.029 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.185e-05/1.063, allocations: 0 / 1.029 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/1.063, allocations: 11.64 kB / 1.029 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/1.063, allocations: 0 / 1.029 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/1.063, allocations: 4 kB / 1.029 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003664/1.063, allocations: 216.6 kB / 1.029 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.839e-05/1.063, allocations: 85.02 kB / 1.029 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.43e-05/1.063, allocations: 3.984 kB / 1.029 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/1.064, allocations: 15.95 kB / 1.029 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.29e-05/1.064, allocations: 15.84 kB / 1.029 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/1.064, allocations: 4 kB / 1.029 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.557e-05/1.064, allocations: 103.5 kB / 1.029 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.31e-07/1.064, allocations: 192 / 1.029 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005857/1.064, allocations: 55.62 kB / 1.029 GB, free: 10.62 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 (lig.occ,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.00107/1.066, allocations: 0.8066 MB / 1.03 GB, free: 9.828 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002999/1.066, allocations: 74.75 kB / 1.03 GB, free: 9.77 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.066, allocations: 0 / 1.03 GB, free: 9.77 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001277/1.066, allocations: 40.92 kB / 1.03 GB, free: 9.742 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/1.066, allocations: 15.59 kB / 1.03 GB, free: 9.73 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007902/1.067, allocations: 182.2 kB / 1.03 GB, free: 9.539 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/1.068, allocations: 0.7044 MB / 1.031 GB, free: 8.809 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.677e-05/1.068, allocations: 16.64 kB / 1.031 GB, free: 8.793 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.374e-05/1.068, allocations: 26.17 kB / 1.031 GB, free: 8.777 MB / 0.6511 GB Notification: Performance of SimCode: time 5.81e-07/1.068, allocations: 0 / 1.031 GB, free: 8.777 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01789/1.086, allocations: 2.932 MB / 1.034 GB, free: 5.965 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002933/1.086, allocations: 208.5 kB / 1.034 GB, free: 5.742 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.6/2.686, allocations: 0 / 1.034 GB, free: 5.742 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)