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.006382/0.006387, allocations: 98.98 kB / 15.73 MB, free: 6.012 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.001376/0.001376, allocations: 191.1 kB / 16.67 MB, free: 5.934 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.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.288/2.288, allocations: 390.3 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 59.91 kB / 0.9504 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7597/0.761, allocations: 140.4 MB / 1.087 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002596/0.7636, allocations: 1.514 MB / 1.089 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001189/0.7649, allocations: 0.7486 MB / 1.09 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.336e-05/0.7649, allocations: 1.188 kB / 1.09 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.425e-05/0.765, allocations: 9.188 kB / 1.09 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.988e-05/0.7651, allocations: 15.95 kB / 1.09 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005208/0.7656, allocations: 126.8 kB / 1.09 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.7657, allocations: 85.12 kB / 1.09 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.7658, allocations: 11.95 kB / 1.09 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.766, allocations: 40.61 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.009e-05/0.766, allocations: 41.36 kB / 1.09 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.7661, allocations: 6.531 kB / 1.09 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002108/0.7663, allocations: 99.2 kB / 1.09 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.252e-05/0.7663, allocations: 20.25 kB / 1.09 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.808e-05/0.7664, allocations: 36.53 kB / 1.09 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000293/0.7667, allocations: 146.4 kB / 1.09 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.7667, allocations: 0 / 1.09 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7667, allocations: 0 / 1.09 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.7667, allocations: 1.125 kB / 1.09 GB, free: 3.465 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.0006967/0.7674, allocations: 464 kB / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.7675, allocations: 13.83 kB / 1.091 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.237e-05/0.7675, allocations: 38.5 kB / 1.091 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.838e-05/0.7675, allocations: 9.125 kB / 1.091 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.499e-05/0.7676, allocations: 186.1 kB / 1.091 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.7677, allocations: 3.125 kB / 1.091 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.7677, allocations: 8.328 kB / 1.091 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.7679, allocations: 75.91 kB / 1.091 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.7679, allocations: 0.7969 kB / 1.091 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.7679, allocations: 5.062 kB / 1.091 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.7679, allocations: 0.9688 kB / 1.091 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.7681, allocations: 46.3 kB / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004852/0.7686, allocations: 323.5 kB / 1.091 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/0.7687, allocations: 63.38 kB / 1.091 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.803e-05/0.7688, allocations: 36.67 kB / 1.091 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.7688, allocations: 5.281 kB / 1.091 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000235/0.7691, allocations: 96.64 kB / 1.092 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.7691, allocations: 0 / 1.092 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0004145/0.7695, allocations: 157.4 kB / 1.092 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.7695, allocations: 53.95 kB / 1.092 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.28e-05/0.7696, allocations: 131.5 kB / 1.092 GB, free: 2 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.7697, allocations: 26.45 kB / 1.092 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.671e-05/0.7697, allocations: 93.25 kB / 1.092 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.622e-05/0.7697, allocations: 21.73 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.614e-05/0.7698, allocations: 31.56 kB / 1.092 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.704e-05/0.7698, allocations: 324.6 kB / 1.092 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.211e-05/0.7699, allocations: 23.17 kB / 1.092 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.734e-05/0.77, allocations: 79.72 kB / 1.092 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.7702, allocations: 95.06 kB / 1.093 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.7702, allocations: 4.875 kB / 1.093 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002402/0.7705, allocations: 134.1 kB / 1.093 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.7705, allocations: 5.344 kB / 1.093 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.7705, allocations: 2.016 kB / 1.093 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.7705, allocations: 2.312 kB / 1.093 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.7706, allocations: 23.17 kB / 1.093 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.7707, allocations: 2.25 kB / 1.093 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.7708, allocations: 18.23 kB / 1.093 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.7708, allocations: 4.234 kB / 1.093 GB, free: 1.281 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 7.336e-05/0.7709, allocations: 126.1 kB / 1.093 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.982e-05/0.7709, allocations: 6.922 kB / 1.093 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000324/0.7712, allocations: 150.6 kB / 1.093 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.7712, allocations: 5.812 kB / 1.093 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.7712, allocations: 0 / 1.093 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.7713, allocations: 5.688 kB / 1.093 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005114/0.7718, allocations: 428.1 kB / 1.093 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.7718, allocations: 0.75 kB / 1.093 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.088e-05/0.7719, allocations: 9.391 kB / 1.093 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.7719, allocations: 6.328 kB / 1.093 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.7719, allocations: 6.016 kB / 1.093 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.7719, allocations: 4.688 kB / 1.093 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.7719, allocations: 1.031 kB / 1.093 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.7722, allocations: 226.4 kB / 1.094 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.433e-05/0.7722, allocations: 92.58 kB / 1.094 GB, free: 444 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.7722, allocations: 6.328 kB / 1.094 GB, free: 440 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.7724, allocations: 12.08 kB / 1.094 GB, free: 436 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.992e-05/0.7724, allocations: 9.125 kB / 1.094 GB, free: 436 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.7725, allocations: 9.109 kB / 1.094 GB, free: 432 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.643e-05/0.7725, allocations: 94.25 kB / 1.094 GB, free: 352 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7725, allocations: 4.875 kB / 1.094 GB, free: 348 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003514/0.7729, allocations: 41.05 kB / 1.094 GB, free: 340 kB / 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.0007735/0.7737, allocations: 0.832 MB / 1.095 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002729/0.7739, allocations: 90.23 kB / 1.095 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.7739, allocations: 0 / 1.095 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.7741, allocations: 42.59 kB / 1.095 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.7744, allocations: 21.25 kB / 1.095 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/0.7762, allocations: 1.597 MB / 1.096 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.7764, allocations: 0.6945 MB / 1.097 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 5.1e-05/0.7765, allocations: 13.08 kB / 1.097 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.39e-05/0.7766, allocations: 28.67 kB / 1.097 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/0.7766, allocations: 4 kB / 1.097 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02218/0.7988, allocations: 3.088 MB / 1.1 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.674/8.473, allocations: 1.5 kB / 1.1 GB, free: 12.93 MB / 0.8731 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