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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001105/0.001105, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.374/1.374, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.745/2.745, allocations: 469.4 MB / 0.742 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 65.42 kB / 0.9082 GB, free: 34.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3662, allocations: 159.2 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.003706/0.37, allocations: 1.513 MB / 1.065 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001581/0.3716, allocations: 0.7572 MB / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.301e-05/0.3717, allocations: 0 / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.451e-05/0.3718, allocations: 7.922 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.3719, allocations: 15.81 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007473/0.3727, allocations: 127.6 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.3729, allocations: 91.69 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.373, allocations: 4 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.3731, allocations: 39.86 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.572e-05/0.3732, allocations: 43.81 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/0.3733, allocations: 12 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002487/0.3735, allocations: 91.91 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.995e-05/0.3736, allocations: 23.86 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.714e-05/0.3737, allocations: 35.84 kB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003068/0.374, allocations: 147.9 kB / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.374, allocations: 0 / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.514e-06/0.374, allocations: 0 / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.374, allocations: 0 / 1.066 GB, free: 11.59 MB / 0.8262 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.0008644/0.3749, allocations: 458.6 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.3749, allocations: 8.031 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.968e-05/0.375, allocations: 42.73 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.637e-05/0.375, allocations: 8.844 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.3752, allocations: 172.2 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.3753, allocations: 8.375 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.3753, allocations: 8.312 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002204/0.3755, allocations: 77.7 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.3755, allocations: 4 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.3756, allocations: 4 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.3756, allocations: 0 / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001381/0.3757, allocations: 39.97 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000656/0.3764, allocations: 328.5 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.3766, allocations: 58.56 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.611e-05/0.3767, allocations: 36.84 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.3767, allocations: 12.11 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003005/0.377, allocations: 95.39 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.864e-06/0.377, allocations: 0 / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0004307/0.3774, allocations: 153.5 kB / 1.068 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.3775, allocations: 59.39 kB / 1.068 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.3776, allocations: 133.8 kB / 1.068 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.3777, allocations: 25.7 kB / 1.068 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.908e-05/0.3778, allocations: 96.36 kB / 1.068 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.3778, allocations: 19.72 kB / 1.068 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.139e-05/0.3779, allocations: 29.7 kB / 1.068 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.378, allocations: 326.8 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.512e-05/0.3781, allocations: 31.98 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.3782, allocations: 61.12 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.3784, allocations: 109 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3784, allocations: 4 kB / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002683/0.3787, allocations: 125.4 kB / 1.069 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.3787, allocations: 11.94 kB / 1.069 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.3788, allocations: 0 / 1.069 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.3788, allocations: 4.375 kB / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.3789, allocations: 16.11 kB / 1.069 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.3789, allocations: 4 kB / 1.069 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.379, allocations: 11.92 kB / 1.069 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.3791, allocations: 7.938 kB / 1.069 GB, free: 8.77 MB / 0.8262 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.0001135/0.3792, allocations: 133.7 kB / 1.069 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.3792, allocations: 7.906 kB / 1.069 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003226/0.3795, allocations: 142 kB / 1.069 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.3796, allocations: 4 kB / 1.069 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/0.3796, allocations: 0 / 1.069 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3796, allocations: 7.938 kB / 1.069 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005954/0.3802, allocations: 426.3 kB / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3802, allocations: 0 / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.348e-05/0.3803, allocations: 15.92 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.3803, allocations: 0 / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.3803, allocations: 4 kB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.3803, allocations: 3.938 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.3803, allocations: 4 kB / 1.07 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003024/0.3806, allocations: 227.5 kB / 1.07 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.658e-05/0.3807, allocations: 88.95 kB / 1.07 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.3807, allocations: 4 kB / 1.07 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.3808, allocations: 11.92 kB / 1.07 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.352e-05/0.3809, allocations: 15.98 kB / 1.07 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.3809, allocations: 8.078 kB / 1.07 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.307e-05/0.381, allocations: 97.14 kB / 1.07 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.381, allocations: 0 / 1.07 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003391/0.3814, allocations: 40 kB / 1.07 GB, free: 7.449 MB / 0.8262 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.0008636/0.3822, allocations: 0.8329 MB / 1.071 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002631/0.3825, allocations: 87.77 kB / 1.071 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3825, allocations: 0 / 1.071 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.3826, allocations: 48.23 kB / 1.071 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.383, allocations: 19.92 kB / 1.071 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.3848, allocations: 1.585 MB / 1.073 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.3851, allocations: 0.6961 MB / 1.073 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.413e-05/0.3852, allocations: 12.36 kB / 1.073 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.671e-05/0.3853, allocations: 27.44 kB / 1.073 GB, free: 4 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3853, allocations: 0 / 1.073 GB, free: 4 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02265/0.4079, allocations: 3.05 MB / 1.076 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.28/7.688, allocations: 8.797 kB / 1.076 GB, free: 1.051 MB / 0.8262 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