Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_10_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.01055/0.01055, allocations: 102.9 kB / 15.74 MB, free: 6.449 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.001934/0.001934, allocations: 199.4 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.49/1.49, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.792/2.792, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 60.14 kB / 1.018 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2949, allocations: 151.6 MB / 1.166 GB, free: 7.473 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002687/0.2976, allocations: 1.507 MB / 1.168 GB, free: 5.949 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001305/0.2989, allocations: 0.7556 MB / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.077e-05/0.299, allocations: 0 / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.061e-05/0.2991, allocations: 11.92 kB / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.694e-05/0.2991, allocations: 19.86 kB / 1.168 GB, free: 5.156 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005621/0.2997, allocations: 127.5 kB / 1.169 GB, free: 5.031 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.2999, allocations: 79.77 kB / 1.169 GB, free: 4.953 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.251e-05/0.3, allocations: 15.94 kB / 1.169 GB, free: 4.938 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.3001, allocations: 39.89 kB / 1.169 GB, free: 4.898 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.165e-05/0.3001, allocations: 39.84 kB / 1.169 GB, free: 4.859 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.3002, allocations: 4 kB / 1.169 GB, free: 4.855 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001967/0.3004, allocations: 99.84 kB / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.073e-05/0.3004, allocations: 23.91 kB / 1.169 GB, free: 4.734 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.49e-05/0.3005, allocations: 35.78 kB / 1.169 GB, free: 4.699 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000258/0.3007, allocations: 151.8 kB / 1.169 GB, free: 4.551 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3008, allocations: 0 / 1.169 GB, free: 4.551 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.537e-06/0.3008, allocations: 0 / 1.169 GB, free: 4.551 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.3008, allocations: 3.938 kB / 1.169 GB, free: 4.547 MB / 0.92 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.0007842/0.3016, allocations: 474.3 kB / 1.169 GB, free: 4.023 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.3016, allocations: 8.031 kB / 1.169 GB, free: 4.016 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.796e-05/0.3017, allocations: 30.75 kB / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.3017, allocations: 8.891 kB / 1.169 GB, free: 3.969 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.3019, allocations: 176.3 kB / 1.17 GB, free: 3.758 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.3019, allocations: 4.375 kB / 1.17 GB, free: 3.754 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.3019, allocations: 4.375 kB / 1.17 GB, free: 3.75 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.3021, allocations: 81.66 kB / 1.17 GB, free: 3.664 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.3021, allocations: 0 / 1.17 GB, free: 3.664 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.3022, allocations: 7.984 kB / 1.17 GB, free: 3.656 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.251e-05/0.3022, allocations: 4 kB / 1.17 GB, free: 3.652 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.3023, allocations: 39.97 kB / 1.17 GB, free: 3.613 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005799/0.3029, allocations: 320.7 kB / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.3031, allocations: 74.58 kB / 1.17 GB, free: 3.168 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.148e-05/0.3032, allocations: 32.84 kB / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.3032, allocations: 0 / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002766/0.3035, allocations: 91.34 kB / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 1.412e-06/0.3035, allocations: 0 / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.0004211/0.3039, allocations: 157.8 kB / 1.17 GB, free: 2.871 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.045e-05/0.304, allocations: 59.41 kB / 1.17 GB, free: 2.801 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.3041, allocations: 137.7 kB / 1.171 GB, free: 2.656 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.3042, allocations: 29.8 kB / 1.171 GB, free: 2.621 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.379e-05/0.3042, allocations: 92.31 kB / 1.171 GB, free: 2.523 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.3043, allocations: 19.84 kB / 1.171 GB, free: 2.504 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.762e-05/0.3043, allocations: 33.7 kB / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.3045, allocations: 322.8 kB / 1.171 GB, free: 2.141 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.071e-05/0.3046, allocations: 27.97 kB / 1.171 GB, free: 2.113 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.3047, allocations: 65.14 kB / 1.171 GB, free: 2.031 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.3049, allocations: 101.1 kB / 1.171 GB, free: 1.914 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.3049, allocations: 0 / 1.171 GB, free: 1.914 MB / 0.92 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002616/0.3052, allocations: 133.5 kB / 1.171 GB, free: 1.777 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.3052, allocations: 4 kB / 1.171 GB, free: 1.773 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.3052, allocations: 8 kB / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.3052, allocations: 0 / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.3053, allocations: 19.92 kB / 1.171 GB, free: 1.746 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.3053, allocations: 4.125 kB / 1.171 GB, free: 1.742 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.3055, allocations: 19.88 kB / 1.171 GB, free: 1.723 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.3055, allocations: 8 kB / 1.171 GB, free: 1.715 MB / 0.92 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.0001156/0.3056, allocations: 125.7 kB / 1.172 GB, free: 1.582 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.953e-05/0.3056, allocations: 7.953 kB / 1.172 GB, free: 1.574 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003249/0.306, allocations: 145.9 kB / 1.172 GB, free: 1.426 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.306, allocations: 0 / 1.172 GB, free: 1.426 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.306, allocations: 4 kB / 1.172 GB, free: 1.422 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.306, allocations: 0 / 1.172 GB, free: 1.422 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006418/0.3066, allocations: 438.3 kB / 1.172 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3066, allocations: 0 / 1.172 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.506e-05/0.3067, allocations: 8 kB / 1.172 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-05/0.3068, allocations: 4 kB / 1.172 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.3068, allocations: 3.984 kB / 1.172 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.438e-06/0.3068, allocations: 7.922 kB / 1.172 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3068, allocations: 4 kB / 1.172 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003295/0.3072, allocations: 227.4 kB / 1.172 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.666e-05/0.3072, allocations: 85.06 kB / 1.172 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.3073, allocations: 0 / 1.172 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.3074, allocations: 15.92 kB / 1.172 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.605e-05/0.3074, allocations: 11.98 kB / 1.172 GB, free: 0.543 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.3075, allocations: 8 kB / 1.173 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of sorting global known variables: time 7.919e-05/0.3076, allocations: 103.2 kB / 1.173 GB, free: 444 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3076, allocations: 0 / 1.173 GB, free: 444 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003324/0.3079, allocations: 43.92 kB / 1.173 GB, free: 400 kB / 0.92 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.0009228/0.3088, allocations: 0.8198 MB / 1.173 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002518/0.3091, allocations: 87.83 kB / 1.174 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3091, allocations: 0 / 1.174 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.3092, allocations: 51.91 kB / 1.174 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.3095, allocations: 28.42 kB / 1.174 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00193/0.3115, allocations: 1.594 MB / 1.175 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.3118, allocations: 0.6962 MB / 1.176 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.04e-05/0.3118, allocations: 12.42 kB / 1.176 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.948e-05/0.3119, allocations: 31.64 kB / 1.176 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of SimCode: time 1.964e-06/0.3119, allocations: 0 / 1.176 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02429/0.3362, allocations: 3.092 MB / 1.179 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.068/8.404, allocations: 12.19 kB / 1.179 GB, free: 9.949 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.fmu > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.csv. Warning: Get data of variable lig.occ from file Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.csv failed! Error: Could not read variable lig.on in file Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.csv. Warning: Get data of variable lig.on from file Buildings_10_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