Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005971/0.005971, allocations: 100.6 kB / 15.73 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 189.8 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.577/2.577, allocations: 469.4 MB / 0.7422 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 63.91 kB / 1.064 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8485/0.8499, allocations: 159.1 MB / 1.22 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002937/0.8528, allocations: 1.499 MB / 1.221 GB, free: 0.7734 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00142/0.8543, allocations: 0.7565 MB / 1.222 GB, free: 12 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.327e-05/0.8544, allocations: 0 / 1.222 GB, free: 12 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.766e-05/0.8544, allocations: 7.922 kB / 1.222 GB, free: 4 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001241/0.8546, allocations: 23.91 kB / 1.222 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006181/0.8552, allocations: 127.6 kB / 1.222 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.8553, allocations: 79.77 kB / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.337e-05/0.8554, allocations: 12 kB / 1.222 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.8556, allocations: 43.66 kB / 1.222 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.645e-05/0.8556, allocations: 39.78 kB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.8557, allocations: 8 kB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002009/0.8559, allocations: 95.91 kB / 1.222 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.077e-05/0.8559, allocations: 23.91 kB / 1.222 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.1e-05/0.856, allocations: 43.78 kB / 1.222 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002606/0.8562, allocations: 139.3 kB / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.8562, allocations: 0 / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.823e-06/0.8563, allocations: 0 / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.8563, allocations: 4 kB / 1.223 GB, free: 15.38 MB / 0.9512 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.0007658/0.857, allocations: 466.3 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.8571, allocations: 12.62 kB / 1.223 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.001e-05/0.8571, allocations: 34.75 kB / 1.223 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.074e-05/0.8572, allocations: 8.891 kB / 1.223 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.8573, allocations: 183.6 kB / 1.223 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.8574, allocations: 8.375 kB / 1.223 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.8574, allocations: 4.375 kB / 1.223 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.8576, allocations: 73.78 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.8576, allocations: 3.984 kB / 1.223 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.8576, allocations: 0 / 1.223 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.8576, allocations: 0 / 1.223 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/0.8578, allocations: 51.91 kB / 1.223 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005646/0.8584, allocations: 324.7 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.8585, allocations: 62.55 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.96e-05/0.8586, allocations: 32.84 kB / 1.224 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.8587, allocations: 4 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002381/0.8589, allocations: 95.39 kB / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.8589, allocations: 0 / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of matching and sorting (n=10): time 0.0004138/0.8593, allocations: 161.5 kB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.8594, allocations: 55.41 kB / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.8595, allocations: 129.8 kB / 1.224 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.8595, allocations: 33.7 kB / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.967e-05/0.8596, allocations: 88.38 kB / 1.224 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/0.8597, allocations: 23.84 kB / 1.224 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.803e-05/0.8597, allocations: 33.7 kB / 1.224 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.8599, allocations: 322.8 kB / 1.225 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.187e-05/0.8599, allocations: 27.98 kB / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.8601, allocations: 65.14 kB / 1.225 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.8603, allocations: 105 kB / 1.225 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.8603, allocations: 0 / 1.225 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002558/0.8605, allocations: 137.5 kB / 1.225 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.8606, allocations: 4 kB / 1.225 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.8606, allocations: 0 / 1.225 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.8606, allocations: 7.938 kB / 1.225 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.8607, allocations: 15.98 kB / 1.225 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.8607, allocations: 3.938 kB / 1.225 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.8608, allocations: 23.88 kB / 1.225 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.8609, allocations: 4.125 kB / 1.225 GB, free: 12.54 MB / 0.9512 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 (lig.curSeed,$PRE.lig.curSeed,lig.on,$PRE.lig.on,$whenCondition3,lig.sampleTrigger,$whenCondition2,occ.pulseStart,$PRE.occ.pulseStart,occ.y,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.594e-05/0.861, allocations: 124.5 kB / 1.225 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/0.861, allocations: 7.953 kB / 1.225 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003455/0.8613, allocations: 149.9 kB / 1.225 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.8614, allocations: 4 kB / 1.225 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.8614, allocations: 0 / 1.225 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.8614, allocations: 0 / 1.225 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005738/0.862, allocations: 434.5 kB / 1.226 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.862, allocations: 3.938 kB / 1.226 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.854e-05/0.862, allocations: 8 kB / 1.226 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.8621, allocations: 3.984 kB / 1.226 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.8621, allocations: 4 kB / 1.226 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.8621, allocations: 3.938 kB / 1.226 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.8621, allocations: 0 / 1.226 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002961/0.8624, allocations: 231.4 kB / 1.226 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.701e-05/0.8625, allocations: 89 kB / 1.226 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.8625, allocations: 0 / 1.226 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.8626, allocations: 11.92 kB / 1.226 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.486e-05/0.8627, allocations: 16.36 kB / 1.226 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.887e-05/0.8627, allocations: 11.94 kB / 1.226 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.241e-05/0.8628, allocations: 99.27 kB / 1.226 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8628, allocations: 4 kB / 1.226 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003555/0.8632, allocations: 47.86 kB / 1.226 GB, free: 11.2 MB / 0.9512 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 (occ.y,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009731/0.8641, allocations: 0.8161 MB / 1.227 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002731/0.8644, allocations: 83.83 kB / 1.227 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.237e-06/0.8644, allocations: 0 / 1.227 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.8646, allocations: 51.97 kB / 1.227 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.8649, allocations: 17.8 kB / 1.227 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/0.867, allocations: 1.604 MB / 1.229 GB, free: 8.523 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.8673, allocations: 0.6963 MB / 1.229 GB, free: 7.801 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 5.56e-05/0.8674, allocations: 8.422 kB / 1.229 GB, free: 7.793 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.053e-05/0.8675, allocations: 31.42 kB / 1.229 GB, free: 7.762 MB / 0.9512 GB Notification: Performance of SimCode: time 8.71e-07/0.8675, allocations: 0 / 1.229 GB, free: 7.762 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02001/0.8875, allocations: 3.088 MB / 1.232 GB, free: 4.797 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.362/8.25, allocations: 20.28 kB / 1.232 GB, free: 4.781 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.fmu > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[575]=3600.000000 File[1254]=2249.280000 Error: Could not read variable lig.occ in file Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.csv. Warning: Get data of variable lig.occ from file Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.csv failed! Error: Could not read variable lig.on in file Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.csv. Warning: Get data of variable lig.on from file Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.csv failed! " Variables in the reference:time,lig.ill,lig.occ,lig.p,lig.on Variables in the result:time,lig.ill,lig.p,ill.amplitude,ill.f,ill.offset