Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.721/1.721, allocations: 285.4 MB / 298 MB, free: 5.977 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.001009/0.00101, allocations: 168.9 kB / 366.4 MB, free: 2.082 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.559/1.559, allocations: 205.1 MB / 0.6248 GB, free: 7.715 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.0007688/0.0007689, allocations: 92.97 kB / 0.738 GB, free: 40.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.633e-05/2.676e-05, allocations: 4 kB / 0.8584 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6434/0.6434, allocations: 115.3 MB / 0.971 GB, free: 77.95 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.203/0.8465, allocations: 140.2 MB / 1.108 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003054/0.8469, allocations: 79.95 kB / 1.108 GB, free: 11.52 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.009779/0.8567, allocations: 3.16 MB / 1.111 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8567, allocations: 4 kB / 1.111 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.8567, allocations: 0.6562 kB / 1.111 GB, free: 8.391 MB / 0.7136 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.0006146/0.8574, allocations: 459.6 kB / 1.111 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.8574, allocations: 10.75 kB / 1.111 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.99e-05/0.8575, allocations: 34.56 kB / 1.112 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.55e-05/0.8575, allocations: 7.906 kB / 1.112 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.8577, allocations: 175 kB / 1.112 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.8577, allocations: 8 kB / 1.112 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.8577, allocations: 4 kB / 1.112 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.8579, allocations: 68.44 kB / 1.112 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.8579, allocations: 0 / 1.112 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.8579, allocations: 0 / 1.112 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.8579, allocations: 4 kB / 1.112 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.874e-05/0.858, allocations: 31.98 kB / 1.112 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000605/0.8586, allocations: 341.9 kB / 1.112 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.8588, allocations: 62.55 kB / 1.112 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.905e-05/0.8589, allocations: 27.77 kB / 1.112 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.8589, allocations: 4.156 kB / 1.112 GB, free: 7.02 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001654/0.8591, allocations: 87.39 kB / 1.112 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 4.598e-06/0.8591, allocations: 0 / 1.112 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0002688/0.8594, allocations: 124.4 kB / 1.112 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.8594, allocations: 59.36 kB / 1.112 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.614e-05/0.8595, allocations: 115.1 kB / 1.113 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.8595, allocations: 29.7 kB / 1.113 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.639e-05/0.8596, allocations: 92.28 kB / 1.113 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.8596, allocations: 19.8 kB / 1.113 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.205e-06/0.8597, allocations: 8 kB / 1.113 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.8598, allocations: 322.8 kB / 1.113 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.508e-05/0.8598, allocations: 16 kB / 1.113 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.287e-05/0.8599, allocations: 57.16 kB / 1.113 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.832e-05/0.86, allocations: 35.92 kB / 1.113 GB, free: 6 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.86, allocations: 0 / 1.113 GB, free: 6 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001888/0.8602, allocations: 121.3 kB / 1.113 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.8602, allocations: 4 kB / 1.113 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.8602, allocations: 4 kB / 1.113 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.8603, allocations: 0 / 1.113 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.8604, allocations: 20.27 kB / 1.113 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.8604, allocations: 12.11 kB / 1.113 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.8605, allocations: 15.95 kB / 1.113 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.8605, allocations: 7.984 kB / 1.113 GB, free: 5.816 MB / 0.7136 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 8.962e-05/0.8606, allocations: 112.9 kB / 1.113 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.686e-05/0.8607, allocations: 7.906 kB / 1.113 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002705/0.8609, allocations: 138.1 kB / 1.114 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.8609, allocations: 4 kB / 1.114 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.861, allocations: 4 kB / 1.114 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.861, allocations: 0 / 1.114 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005128/0.8615, allocations: 422.3 kB / 1.114 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.8615, allocations: 0 / 1.114 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.299e-05/0.8616, allocations: 15.92 kB / 1.114 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.8616, allocations: 2.156 kB / 1.114 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.8616, allocations: 4 kB / 1.114 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.115e-06/0.8616, allocations: 4 kB / 1.114 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.8616, allocations: 7.891 kB / 1.114 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002777/0.8619, allocations: 212.4 kB / 1.114 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.476e-05/0.862, allocations: 85.02 kB / 1.114 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.862, allocations: 0 / 1.114 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.8621, allocations: 19.98 kB / 1.114 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.018e-05/0.8622, allocations: 12.03 kB / 1.114 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.8622, allocations: 7.984 kB / 1.114 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.413e-05/0.8623, allocations: 105 kB / 1.114 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8623, allocations: 0 / 1.114 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003119/0.8626, allocations: 51.92 kB / 1.114 GB, free: 4.531 MB / 0.7136 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 (12): * Single equations (assignments): 9 * 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.0007971/0.8634, allocations: 0.8242 MB / 1.115 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001935/0.8636, allocations: 71.86 kB / 1.115 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.8636, allocations: 3.938 kB / 1.115 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.245e-05/0.8637, allocations: 40 kB / 1.115 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002073/0.8639, allocations: 22.06 kB / 1.115 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005283/0.8645, allocations: 185.2 kB / 1.116 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.8647, allocations: 0.7004 MB / 1.116 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.796e-05/0.8648, allocations: 12.42 kB / 1.116 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.777e-05/0.8649, allocations: 31.42 kB / 1.116 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.8649, allocations: 0 / 1.116 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01412/0.879, allocations: 2.924 MB / 1.119 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001876/0.8792, allocations: 220 kB / 1.119 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.686/2.565, allocations: 4 kB / 1.119 GB, free: 15.62 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1)