Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.Love1998Light2,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",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.72/1.72, allocations: 288.2 MB / 303.2 MB, free: 8.035 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.001078/0.001078, allocations: 181.5 kB / 371.8 MB, free: 10.31 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.681/1.681, allocations: 205.4 MB / 0.6305 GB, free: 10.05 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008825/0.0008826, allocations: 99.38 kB / 0.7439 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006239/0.0006242, allocations: 15.31 kB / 0.8669 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2762, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7948/1.071, allocations: 140.3 MB / 1.116 GB, free: 16.29 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/1.071, allocations: 83.64 kB / 1.117 GB, free: 16.29 MB / 0.6823 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.009472/1.081, allocations: 3.18 MB / 1.12 GB, free: 31.83 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.294e-06/1.081, allocations: 0 / 1.12 GB, free: 31.83 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.257e-06/1.081, allocations: 0 / 1.12 GB, free: 31.83 MB / 0.698 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.0006573/1.082, allocations: 479.6 kB / 1.12 GB, free: 31.38 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/1.082, allocations: 11.67 kB / 1.12 GB, free: 31.37 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.753e-05/1.082, allocations: 37.7 kB / 1.12 GB, free: 31.33 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.073e-05/1.082, allocations: 7.75 kB / 1.12 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/1.082, allocations: 182.2 kB / 1.12 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/1.082, allocations: 3.938 kB / 1.12 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/1.082, allocations: 7.594 kB / 1.12 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/1.082, allocations: 73.3 kB / 1.12 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/1.082, allocations: 0 / 1.12 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/1.082, allocations: 4 kB / 1.12 GB, free: 31.08 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/1.082, allocations: 0 / 1.12 GB, free: 31.08 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/1.082, allocations: 48.25 kB / 1.12 GB, free: 31.08 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005804/1.083, allocations: 338.3 kB / 1.121 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/1.083, allocations: 60.17 kB / 1.121 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/1.083, allocations: 0 / 1.121 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001961/1.083, allocations: 100.3 kB / 1.121 GB, free: 30.73 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.633e-06/1.083, allocations: 4 kB / 1.121 GB, free: 30.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0003736/1.084, allocations: 161.7 kB / 1.121 GB, free: 30.68 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/1.084, allocations: 55.38 kB / 1.121 GB, free: 30.62 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/1.084, allocations: 122.5 kB / 1.121 GB, free: 30.53 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/1.084, allocations: 25.7 kB / 1.121 GB, free: 30.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.254e-05/1.084, allocations: 97.31 kB / 1.121 GB, free: 30.41 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/1.084, allocations: 22.06 kB / 1.121 GB, free: 30.39 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.353e-06/1.084, allocations: 3.688 kB / 1.121 GB, free: 30.39 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001313/1.084, allocations: 321.2 kB / 1.122 GB, free: 30.08 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.955e-05/1.084, allocations: 25.91 kB / 1.122 GB, free: 30.08 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.769e-05/1.084, allocations: 63.42 kB / 1.122 GB, free: 30.04 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.76e-05/1.084, allocations: 43.92 kB / 1.122 GB, free: 30.02 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.084, allocations: 0 / 1.122 GB, free: 30.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002289/1.085, allocations: 139.8 kB / 1.122 GB, free: 29.97 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/1.085, allocations: 3.969 kB / 1.122 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/1.085, allocations: 3.719 kB / 1.122 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/1.085, allocations: 0 / 1.122 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/1.085, allocations: 21.5 kB / 1.122 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/1.085, allocations: 0 / 1.122 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.878e-05/1.085, allocations: 17.95 kB / 1.122 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/1.085, allocations: 11.64 kB / 1.122 GB, free: 29.96 MB / 0.698 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 () * Number of clocked 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.000102/1.085, allocations: 128.5 kB / 1.122 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.54e-05/1.085, allocations: 7.812 kB / 1.122 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002856/1.085, allocations: 148 kB / 1.122 GB, free: 29.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/1.085, allocations: 0 / 1.122 GB, free: 29.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/1.085, allocations: 0 / 1.122 GB, free: 29.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/1.085, allocations: 0 / 1.122 GB, free: 29.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004992/1.086, allocations: 444.6 kB / 1.123 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/1.086, allocations: 0 / 1.123 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.633e-05/1.086, allocations: 14.83 kB / 1.123 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/1.086, allocations: 0 / 1.123 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/1.086, allocations: 6.812 kB / 1.123 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/1.086, allocations: 4 kB / 1.123 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.086, allocations: 3.953 kB / 1.123 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002585/1.086, allocations: 226.7 kB / 1.123 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.732e-05/1.086, allocations: 84.7 kB / 1.123 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/1.086, allocations: 7.422 kB / 1.123 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/1.086, allocations: 15.25 kB / 1.123 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.155e-05/1.086, allocations: 14.36 kB / 1.123 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/1.086, allocations: 7.797 kB / 1.123 GB, free: 29.23 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.335e-05/1.087, allocations: 103.7 kB / 1.123 GB, free: 29.15 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.087, allocations: 3.812 kB / 1.123 GB, free: 29.15 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000315/1.087, allocations: 53.92 kB / 1.123 GB, free: 29.14 MB / 0.698 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) * Number of clocked states: 0 () * 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.0007816/1.088, allocations: 0.8237 MB / 1.124 GB, free: 28.46 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002136/1.088, allocations: 92.17 kB / 1.124 GB, free: 28.45 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/1.088, allocations: 0 / 1.124 GB, free: 28.45 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.363e-05/1.088, allocations: 55 kB / 1.124 GB, free: 28.44 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/1.088, allocations: 7.75 kB / 1.124 GB, free: 28.44 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009715/1.089, allocations: 1.234 MB / 1.125 GB, free: 27.27 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/1.089, allocations: 0.6988 MB / 1.126 GB, free: 26.57 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.878e-05/1.09, allocations: 15.03 kB / 1.126 GB, free: 26.57 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.206e-05/1.09, allocations: 24.5 kB / 1.126 GB, free: 26.56 MB / 0.698 GB Notification: Performance of SimCode: time 6.51e-07/1.09, allocations: 0 / 1.126 GB, free: 26.56 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01453/1.104, allocations: 2.892 MB / 1.129 GB, free: 26.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002066/1.104, allocations: 256.7 kB / 1.129 GB, free: 26.05 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.783/2.888, allocations: 2.25 kB / 1.129 GB, free: 26.05 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)