Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Love1998Light2,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_10_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.001198/0.001197, allocations: 108 kB / 15.6 MB, free: 132 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.001245/0.001245, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.402/1.402, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.59/2.59, allocations: 437 MB / 0.7104 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002484/0.002485, allocations: 63.89 kB / 0.8693 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5937/0.5962, allocations: 151.6 MB / 1.017 GB, free: 2.598 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002587/0.5988, allocations: 1.508 MB / 1.019 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001187/0.6, allocations: 0.7634 MB / 1.02 GB, free: 320 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.72e-05/0.6001, allocations: 0 / 1.02 GB, free: 320 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.004e-05/0.6002, allocations: 3.938 kB / 1.02 GB, free: 316 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.753e-05/0.6002, allocations: 19.84 kB / 1.02 GB, free: 296 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000546/0.6008, allocations: 127.5 kB / 1.02 GB, free: 168 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.6009, allocations: 75.78 kB / 1.02 GB, free: 92 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.601, allocations: 23.97 kB / 1.02 GB, free: 68 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.6012, allocations: 43.8 kB / 1.02 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.885e-05/0.6013, allocations: 39.83 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.274e-05/0.6013, allocations: 4 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001917/0.6015, allocations: 91.91 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.041e-05/0.6015, allocations: 19.97 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.365e-05/0.6016, allocations: 35.8 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002546/0.6019, allocations: 145.9 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.6019, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6019, allocations: 8 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.6019, allocations: 0 / 1.02 GB, free: 15.69 MB / 0.7794 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.0007474/0.6026, allocations: 466.5 kB / 1.021 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.6027, allocations: 12.03 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.553e-05/0.6027, allocations: 30.75 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.919e-05/0.6028, allocations: 8.844 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.6029, allocations: 184.2 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.603, allocations: 4.375 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.603, allocations: 8.375 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.6032, allocations: 81.7 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.6032, allocations: 0 / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.6032, allocations: 0 / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.6032, allocations: 0 / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.6034, allocations: 43.97 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005468/0.6039, allocations: 320.6 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.6041, allocations: 66.55 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.765e-05/0.6042, allocations: 28.84 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.6042, allocations: 7.938 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002288/0.6044, allocations: 95.39 kB / 1.022 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.623e-06/0.6045, allocations: 0 / 1.022 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0003947/0.6049, allocations: 157.5 kB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/0.6049, allocations: 59.41 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.605, allocations: 121.8 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.6051, allocations: 33.7 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.393e-05/0.6051, allocations: 84.38 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.6052, allocations: 31.78 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-05/0.6052, allocations: 37.7 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.6053, allocations: 322.8 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.338e-05/0.6054, allocations: 27.98 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.494e-05/0.6055, allocations: 61.14 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.6057, allocations: 109 kB / 1.023 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.6057, allocations: 0 / 1.023 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002463/0.606, allocations: 129.4 kB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.606, allocations: 12.06 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.606, allocations: 0 / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.606, allocations: 4 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.6061, allocations: 15.98 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.6061, allocations: 3.938 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.6062, allocations: 19.89 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.6063, allocations: 4 kB / 1.023 GB, free: 12.86 MB / 0.7794 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.85e-05/0.6064, allocations: 121.7 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/0.6064, allocations: 11.91 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003045/0.6067, allocations: 149.9 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.6067, allocations: 0 / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.6067, allocations: 0 / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.6067, allocations: 4.359 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005249/0.6073, allocations: 426.2 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.6073, allocations: 4 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.98e-05/0.6074, allocations: 15.98 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.6074, allocations: 3.938 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.6074, allocations: 4 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.6074, allocations: 7.875 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.6074, allocations: 0 / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002716/0.6077, allocations: 231.5 kB / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.04e-05/0.6077, allocations: 89.02 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.6078, allocations: 0 / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.6079, allocations: 19.92 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/0.6079, allocations: 7.984 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.608, allocations: 4 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.143e-05/0.608, allocations: 99.27 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.608, allocations: 0 / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003161/0.6084, allocations: 43.98 kB / 1.024 GB, free: 11.54 MB / 0.7794 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.0008079/0.6092, allocations: 0.8239 MB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002425/0.6094, allocations: 103.8 kB / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6094, allocations: 0 / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.6095, allocations: 43.97 kB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.6099, allocations: 25.06 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001809/0.6117, allocations: 1.581 MB / 1.026 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.612, allocations: 0.6963 MB / 1.027 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.887e-05/0.612, allocations: 4.438 kB / 1.027 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.473e-05/0.6121, allocations: 31.42 kB / 1.027 GB, free: 8.09 MB / 0.7794 GB Notification: Performance of SimCode: time 6.01e-07/0.6121, allocations: 0 / 1.027 GB, free: 8.09 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02159/0.6337, allocations: 3.048 MB / 1.03 GB, free: 5.145 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.176/7.81, allocations: 2.062 kB / 1.03 GB, free: 5.145 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.fmu > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.csv. Warning: Get data of variable lig.occ from file Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.csv failed! Error: Could not read variable lig.on in file Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.csv. Warning: Get data of variable lig.on from file Buildings_10_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