Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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-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.Love1998Light1,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_latest_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.00843/0.00843, allocations: 98.25 kB / 15.73 MB, free: 6.445 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.001973/0.001973, allocations: 196.6 kB / 16.68 MB, free: 6.352 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.772/2.772, allocations: 469.4 MB / 0.7422 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 63.91 kB / 1.064 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3013, allocations: 159.1 MB / 1.22 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002591/0.3039, allocations: 1.502 MB / 1.221 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001302/0.3052, allocations: 0.7672 MB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.33e-05/0.3053, allocations: 0 / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.43e-05/0.3054, allocations: 3.938 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.916e-05/0.3055, allocations: 11.88 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005571/0.306, allocations: 127.5 kB / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.3062, allocations: 87.69 kB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.027e-05/0.3063, allocations: 19.98 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.779e-05/0.3064, allocations: 31.92 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.885e-05/0.3065, allocations: 47.81 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.3065, allocations: 4 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001863/0.3067, allocations: 103.8 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.559e-05/0.3067, allocations: 15.92 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.876e-05/0.3068, allocations: 31.86 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002405/0.307, allocations: 155.4 kB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.307, allocations: 0 / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.382e-06/0.307, allocations: 0 / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.307, allocations: 4 kB / 1.223 GB, free: 11.82 MB / 0.9825 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.0007086/0.3078, allocations: 467.9 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.3078, allocations: 8.031 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.824e-05/0.3078, allocations: 34.75 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.794e-05/0.3079, allocations: 8.891 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.308, allocations: 180.3 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.308, allocations: 384 / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.3081, allocations: 12.38 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.3083, allocations: 77.7 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.3083, allocations: 0 / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.3083, allocations: 4 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.3083, allocations: 4 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.3085, allocations: 35.97 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005251/0.309, allocations: 324.8 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.3092, allocations: 66.48 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.997e-05/0.3092, allocations: 36.84 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.3093, allocations: 160 / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002194/0.3095, allocations: 91.34 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 2.705e-06/0.3095, allocations: 4 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0004029/0.3099, allocations: 161.7 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.31, allocations: 63.28 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.3101, allocations: 139.8 kB / 1.224 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.3101, allocations: 25.7 kB / 1.224 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.66e-05/0.3102, allocations: 96.38 kB / 1.224 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/0.3102, allocations: 19.84 kB / 1.224 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.253e-05/0.3103, allocations: 33.7 kB / 1.224 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.3104, allocations: 330.8 kB / 1.225 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.628e-05/0.3105, allocations: 19.98 kB / 1.225 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.3106, allocations: 69.14 kB / 1.225 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/0.3107, allocations: 101.1 kB / 1.225 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3108, allocations: 0 / 1.225 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002488/0.311, allocations: 129.5 kB / 1.225 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.311, allocations: 4 kB / 1.225 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.311, allocations: 8.125 kB / 1.225 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.3111, allocations: 0 / 1.225 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.3112, allocations: 23.92 kB / 1.225 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.3112, allocations: 0 / 1.225 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.3113, allocations: 19.97 kB / 1.225 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.3113, allocations: 4 kB / 1.225 GB, free: 8.984 MB / 0.9825 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.000101/0.3114, allocations: 134.2 kB / 1.225 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.199e-05/0.3115, allocations: 7.953 kB / 1.225 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003199/0.3118, allocations: 149.9 kB / 1.225 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3118, allocations: 0 / 1.225 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3118, allocations: 0 / 1.225 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.3118, allocations: 3.984 kB / 1.225 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000571/0.3124, allocations: 422.3 kB / 1.226 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3124, allocations: 0 / 1.226 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.213e-05/0.3125, allocations: 11.98 kB / 1.226 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.3125, allocations: 8 kB / 1.226 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.3125, allocations: 4 kB / 1.226 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.3125, allocations: 3.938 kB / 1.226 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.3125, allocations: 3.938 kB / 1.226 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/0.3128, allocations: 223.4 kB / 1.226 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.32e-05/0.3129, allocations: 89 kB / 1.226 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.3129, allocations: 4 kB / 1.226 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.313, allocations: 19.92 kB / 1.226 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/0.3131, allocations: 7.984 kB / 1.226 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.3131, allocations: 12 kB / 1.226 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.588e-05/0.3132, allocations: 98.39 kB / 1.226 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3132, allocations: 0 / 1.226 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003454/0.3135, allocations: 43.92 kB / 1.226 GB, free: 7.652 MB / 0.9825 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.0008225/0.3144, allocations: 0.8181 MB / 1.227 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002348/0.3146, allocations: 79.91 kB / 1.227 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3146, allocations: 256 / 1.227 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.3147, allocations: 55.84 kB / 1.227 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.3151, allocations: 25.62 kB / 1.227 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.3168, allocations: 1.591 MB / 1.229 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.317, allocations: 0.7041 MB / 1.229 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.866e-05/0.3171, allocations: 8.422 kB / 1.229 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.266e-05/0.3172, allocations: 31.64 kB / 1.229 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of SimCode: time 2.1e-07/0.3172, allocations: 0 / 1.229 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0202/0.3374, allocations: 3.089 MB / 1.232 GB, free: 1.238 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.443/7.781, allocations: 7.922 kB / 1.232 GB, free: 1.23 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_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_Love1998Light1.fmu > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.csv. Warning: Get data of variable lig.occ from file Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.csv failed! Error: Could not read variable lig.on in file Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.csv. Warning: Get data of variable lig.on from file Buildings_latest_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