Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_9_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.006467/0.006467, allocations: 101 kB / 15.73 MB, free: 6.047 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.001586/0.001586, allocations: 186.5 kB / 16.67 MB, free: 5.977 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.411/2.411, allocations: 390.3 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 65.89 kB / 0.9504 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2687, allocations: 140.4 MB / 1.087 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.00257/0.2713, allocations: 1.505 MB / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001344/0.2726, allocations: 0.757 MB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.907e-05/0.2727, allocations: 7.938 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.599e-05/0.2728, allocations: 3.938 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.919e-05/0.2729, allocations: 19.84 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006223/0.2735, allocations: 123.6 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.2737, allocations: 83.7 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.2738, allocations: 15.98 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.2739, allocations: 43.84 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.754e-05/0.274, allocations: 35.83 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.274, allocations: 11.94 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000258/0.2743, allocations: 99.84 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.158e-05/0.2743, allocations: 23.91 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.735e-05/0.2744, allocations: 31.86 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002835/0.2747, allocations: 146.4 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2747, allocations: 0 / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.356e-06/0.2747, allocations: 7.984 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.2748, allocations: 0 / 1.09 GB, free: 15.06 MB / 0.8575 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.0007759/0.2755, allocations: 459.4 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.2756, allocations: 12.03 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.064e-05/0.2756, allocations: 34.73 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.234e-05/0.2757, allocations: 8.844 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.2758, allocations: 172.3 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.2759, allocations: 4.375 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.2759, allocations: 4.375 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.2761, allocations: 85.7 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.2761, allocations: 0 / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.2761, allocations: 0 / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.2761, allocations: 0 / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001375/0.2763, allocations: 43.97 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005539/0.2768, allocations: 324.6 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.277, allocations: 70.59 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.648e-05/0.2771, allocations: 32.83 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.2771, allocations: 4 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000224/0.2774, allocations: 91.36 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.813e-06/0.2774, allocations: 0 / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0003987/0.2778, allocations: 157.4 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.2778, allocations: 63.39 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.278, allocations: 119 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.278, allocations: 33.7 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.998e-05/0.2781, allocations: 92.27 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.2781, allocations: 31.73 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.452e-05/0.2782, allocations: 33.7 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.2783, allocations: 326.8 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.892e-05/0.2784, allocations: 27.98 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.69e-05/0.2785, allocations: 73.12 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.2786, allocations: 101.1 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2786, allocations: 0 / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002394/0.2789, allocations: 125.4 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.2789, allocations: 4 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2789, allocations: 0 / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.279, allocations: 8.219 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.2791, allocations: 19.92 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.2791, allocations: 3.984 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.2792, allocations: 19.92 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.2792, allocations: 4 kB / 1.093 GB, free: 12.24 MB / 0.8575 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.0001013/0.2793, allocations: 125.7 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.2794, allocations: 11.91 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003368/0.2797, allocations: 153.9 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.2797, allocations: 4 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.2797, allocations: 0 / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.2797, allocations: 0 / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006165/0.2804, allocations: 426.2 kB / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.2804, allocations: 0 / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.088e-05/0.2805, allocations: 11.98 kB / 1.093 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.2805, allocations: 0 / 1.093 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.2805, allocations: 12 kB / 1.093 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.2805, allocations: 7.922 kB / 1.093 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.2805, allocations: 0 / 1.093 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003043/0.2808, allocations: 223.3 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.825e-05/0.2809, allocations: 85.02 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.2809, allocations: 3.984 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.281, allocations: 11.94 kB / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.526e-05/0.2811, allocations: 15.98 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.2811, allocations: 8.359 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.879e-05/0.2812, allocations: 100.9 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2812, allocations: 0 / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003228/0.2815, allocations: 36 kB / 1.094 GB, free: 10.93 MB / 0.8575 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.0007836/0.2823, allocations: 0.8301 MB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002343/0.2826, allocations: 87.89 kB / 1.095 GB, free: 10 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.2826, allocations: 0 / 1.095 GB, free: 10 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.2827, allocations: 48.17 kB / 1.095 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.283, allocations: 15.92 kB / 1.095 GB, free: 9.941 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001755/0.2847, allocations: 1.602 MB / 1.096 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.285, allocations: 0.6967 MB / 1.097 GB, free: 7.508 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.017e-05/0.2851, allocations: 12.44 kB / 1.097 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.411e-05/0.2852, allocations: 27.42 kB / 1.097 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of SimCode: time 3.5e-07/0.2852, allocations: 0 / 1.097 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02063/0.3058, allocations: 3.097 MB / 1.1 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.517/7.823, allocations: 0 / 1.1 GB, free: 4.488 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.fmu > Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.csv. Warning: Get data of variable lig.occ from file Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.csv failed! Error: Could not read variable lig.on in file Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.csv. Warning: Get data of variable lig.on from file Buildings_9_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