Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.Love1998Light1,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",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.007334/0.007335, allocations: 100.4 kB / 15.73 MB, free: 5.605 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.00209/0.002091, allocations: 189.4 kB / 16.67 MB, free: 5.527 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.74/2.74, allocations: 469.8 MB / 0.7425 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 63.89 kB / 1.065 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6314/0.6333, allocations: 159.1 MB / 1.22 GB, free: 2.082 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002631/0.636, allocations: 1.513 MB / 1.222 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.6373, allocations: 0.7565 MB / 1.222 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.085e-05/0.6373, allocations: 0 / 1.222 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.941e-05/0.6374, allocations: 7.875 kB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.103e-05/0.6374, allocations: 15.84 kB / 1.222 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004786/0.6379, allocations: 131.6 kB / 1.222 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.6381, allocations: 79.78 kB / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 7.789e-05/0.6382, allocations: 7.984 kB / 1.223 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.432e-05/0.6383, allocations: 47.78 kB / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.339e-05/0.6383, allocations: 39.83 kB / 1.223 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.6384, allocations: 11.94 kB / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001894/0.6386, allocations: 99.84 kB / 1.223 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.787e-05/0.6386, allocations: 15.97 kB / 1.223 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.486e-05/0.6387, allocations: 39.8 kB / 1.223 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002332/0.6389, allocations: 139.3 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.6389, allocations: 0 / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.102e-06/0.6389, allocations: 0 / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.6389, allocations: 0 / 1.223 GB, free: 15.18 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.0007227/0.6397, allocations: 470.3 kB / 1.223 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.6397, allocations: 12.03 kB / 1.223 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.293e-05/0.6397, allocations: 46.67 kB / 1.223 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.294e-05/0.6398, allocations: 8.891 kB / 1.223 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.6399, allocations: 172.3 kB / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.64, allocations: 4.375 kB / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.64, allocations: 8.375 kB / 1.224 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.6402, allocations: 77.77 kB / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.6402, allocations: 0 / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.6402, allocations: 0 / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.6402, allocations: 3.938 kB / 1.224 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.6404, allocations: 43.97 kB / 1.224 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005282/0.6409, allocations: 328.6 kB / 1.224 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.6411, allocations: 58.59 kB / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.835e-05/0.6412, allocations: 40.83 kB / 1.224 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.6412, allocations: 4 kB / 1.224 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002127/0.6414, allocations: 95.34 kB / 1.224 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.6414, allocations: 0 / 1.224 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of matching and sorting (n=10): time 0.0004077/0.6418, allocations: 157.5 kB / 1.224 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.6419, allocations: 51.41 kB / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.642, allocations: 133.8 kB / 1.225 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.642, allocations: 29.7 kB / 1.225 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.689e-05/0.6421, allocations: 96.36 kB / 1.225 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.6421, allocations: 24 kB / 1.225 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.757e-05/0.6422, allocations: 29.7 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.6423, allocations: 326.8 kB / 1.225 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.536e-05/0.6424, allocations: 31.92 kB / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.6426, allocations: 71.5 kB / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.6427, allocations: 89.08 kB / 1.225 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.6428, allocations: 8 kB / 1.225 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002585/0.643, allocations: 125.5 kB / 1.225 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.643, allocations: 8 kB / 1.225 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.6431, allocations: 4 kB / 1.225 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.6431, allocations: 4 kB / 1.225 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.6432, allocations: 23.86 kB / 1.225 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.6432, allocations: 4 kB / 1.225 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.6433, allocations: 20 kB / 1.225 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.6434, allocations: 8 kB / 1.225 GB, free: 12.33 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 0.0001037/0.6435, allocations: 121.8 kB / 1.226 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.6435, allocations: 11.94 kB / 1.226 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003386/0.6438, allocations: 145.9 kB / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.6438, allocations: 0 / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.6439, allocations: 4 kB / 1.226 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.6439, allocations: 0 / 1.226 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006051/0.6445, allocations: 430.3 kB / 1.226 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.6445, allocations: 0 / 1.226 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.692e-05/0.6446, allocations: 15.98 kB / 1.226 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.6446, allocations: 0 / 1.226 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.6446, allocations: 0 / 1.226 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-05/0.6446, allocations: 7.938 kB / 1.226 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.6446, allocations: 0 / 1.226 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000321/0.6449, allocations: 231.3 kB / 1.226 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.181e-05/0.645, allocations: 89 kB / 1.226 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.645, allocations: 4 kB / 1.226 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.6452, allocations: 11.92 kB / 1.226 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.893e-05/0.6452, allocations: 12.08 kB / 1.226 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.6453, allocations: 8.359 kB / 1.226 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.906e-05/0.6453, allocations: 99.27 kB / 1.227 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6453, allocations: 4 kB / 1.227 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003113/0.6457, allocations: 43.92 kB / 1.227 GB, free: 11 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.000855/0.6465, allocations: 0.8307 MB / 1.227 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002438/0.6468, allocations: 79.89 kB / 1.228 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.6468, allocations: 0 / 1.228 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.6469, allocations: 47.92 kB / 1.228 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.6472, allocations: 28.02 kB / 1.228 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.649, allocations: 1.595 MB / 1.229 GB, free: 8.316 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.6493, allocations: 0.6963 MB / 1.23 GB, free: 7.594 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.563e-05/0.6494, allocations: 8.438 kB / 1.23 GB, free: 7.586 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.101e-05/0.6494, allocations: 27.42 kB / 1.23 GB, free: 7.559 MB / 0.9512 GB Notification: Performance of SimCode: time 2.8e-07/0.6495, allocations: 4 kB / 1.23 GB, free: 7.555 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02342/0.6729, allocations: 3.098 MB / 1.233 GB, free: 4.574 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.786/8.459, allocations: 13.19 kB / 1.233 GB, free: 4.562 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.fmu > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.csv. Warning: Get data of variable lig.occ from file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.csv failed! Error: Could not read variable lig.on in file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.csv. Warning: Get data of variable lig.on from file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_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