Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.722/2.722, allocations: 287.3 MB / 302.3 MB, free: 8.332 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.001497/0.001497, allocations: 191.2 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.104/2.104, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.00114/0.00114, allocations: 92.23 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005477/0.0005477, allocations: 16.34 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2391/0.2397, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9884/1.228, allocations: 140.1 MB / 1.115 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002987/1.229, allocations: 80.36 kB / 1.115 GB, free: 15.78 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.01525/1.244, allocations: 3.177 MB / 1.118 GB, free: 31.33 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.317e-06/1.244, allocations: 7.938 kB / 1.118 GB, free: 31.32 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.303e-05/1.244, allocations: 0 / 1.118 GB, free: 31.32 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.001112/1.245, allocations: 471.2 kB / 1.119 GB, free: 30.87 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.704e-05/1.245, allocations: 15.52 kB / 1.119 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.008e-05/1.245, allocations: 30.56 kB / 1.119 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.777e-05/1.245, allocations: 11.72 kB / 1.119 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/1.245, allocations: 185.4 kB / 1.119 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/1.245, allocations: 3.875 kB / 1.119 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.714e-05/1.246, allocations: 11.3 kB / 1.119 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002604/1.246, allocations: 72.08 kB / 1.119 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/1.246, allocations: 3.969 kB / 1.119 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/1.246, allocations: 0 / 1.119 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/1.246, allocations: 0 / 1.119 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002155/1.246, allocations: 47.89 kB / 1.119 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008659/1.247, allocations: 329.2 kB / 1.119 GB, free: 30.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002256/1.247, allocations: 66.45 kB / 1.119 GB, free: 30.27 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.231e-05/1.247, allocations: 6.312 kB / 1.119 GB, free: 30.27 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000298/1.248, allocations: 94.36 kB / 1.12 GB, free: 30.22 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 3.136e-06/1.248, allocations: 3.812 kB / 1.12 GB, free: 30.22 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0006424/1.248, allocations: 163.6 kB / 1.12 GB, free: 30.18 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/1.248, allocations: 57.75 kB / 1.12 GB, free: 30.11 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/1.248, allocations: 113.7 kB / 1.12 GB, free: 30.02 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/1.249, allocations: 29.33 kB / 1.12 GB, free: 29.99 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.569e-05/1.249, allocations: 97.44 kB / 1.12 GB, free: 29.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.451e-05/1.249, allocations: 14.56 kB / 1.12 GB, free: 29.89 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.216e-05/1.249, allocations: 3.438 kB / 1.12 GB, free: 29.89 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001567/1.249, allocations: 328.3 kB / 1.12 GB, free: 29.57 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/1.249, allocations: 27.72 kB / 1.12 GB, free: 29.57 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/1.249, allocations: 63.84 kB / 1.12 GB, free: 29.52 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/1.249, allocations: 42.16 kB / 1.12 GB, free: 29.52 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/1.249, allocations: 3.906 kB / 1.12 GB, free: 29.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003902/1.25, allocations: 130.1 kB / 1.121 GB, free: 29.47 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/1.25, allocations: 13.95 kB / 1.121 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/1.25, allocations: 0 / 1.121 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/1.25, allocations: 7.969 kB / 1.121 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/1.25, allocations: 15.42 kB / 1.121 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/1.25, allocations: 0 / 1.121 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001778/1.25, allocations: 24.98 kB / 1.121 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/1.25, allocations: 10.27 kB / 1.121 GB, free: 29.45 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.0001602/1.25, allocations: 122.3 kB / 1.121 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.021e-05/1.25, allocations: 11.81 kB / 1.121 GB, free: 29.33 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004911/1.251, allocations: 148.9 kB / 1.121 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/1.251, allocations: 0 / 1.121 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/1.251, allocations: 0 / 1.121 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/1.251, allocations: 0 / 1.121 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008278/1.252, allocations: 440.4 kB / 1.121 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/1.252, allocations: 0 / 1.121 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/1.252, allocations: 14.89 kB / 1.121 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/1.252, allocations: 4.062 kB / 1.121 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/1.252, allocations: 7.547 kB / 1.121 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/1.252, allocations: 5.078 kB / 1.121 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/1.252, allocations: 0 / 1.121 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000468/1.253, allocations: 233 kB / 1.122 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.322e-05/1.253, allocations: 84.83 kB / 1.122 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.196e-05/1.253, allocations: 0 / 1.122 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/1.253, allocations: 15.56 kB / 1.122 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.622e-05/1.253, allocations: 10.72 kB / 1.122 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/1.253, allocations: 11.11 kB / 1.122 GB, free: 28.72 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.933e-05/1.253, allocations: 102.3 kB / 1.122 GB, free: 28.64 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.863e-06/1.253, allocations: 0 / 1.122 GB, free: 28.64 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004775/1.254, allocations: 57.36 kB / 1.122 GB, free: 28.63 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.0012/1.255, allocations: 0.8349 MB / 1.123 GB, free: 27.95 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003668/1.255, allocations: 85.97 kB / 1.123 GB, free: 27.94 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/1.255, allocations: 4.25 kB / 1.123 GB, free: 27.94 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000161/1.255, allocations: 50.12 kB / 1.123 GB, free: 27.93 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/1.256, allocations: 18.19 kB / 1.123 GB, free: 27.93 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/1.257, allocations: 1.229 MB / 1.124 GB, free: 26.76 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/1.257, allocations: 0.6957 MB / 1.125 GB, free: 26.06 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.69e-05/1.257, allocations: 13.81 kB / 1.125 GB, free: 26.06 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.263e-05/1.258, allocations: 26.55 kB / 1.125 GB, free: 26.05 MB / 0.698 GB Notification: Performance of SimCode: time 8.92e-07/1.258, allocations: 0 / 1.125 GB, free: 26.05 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02327/1.281, allocations: 2.892 MB / 1.128 GB, free: 25.78 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000189/1.281, allocations: 241.9 kB / 1.128 GB, free: 25.53 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.61/3.891, allocations: 0 / 1.128 GB, free: 25.53 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)