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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001463/0.001463, 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.001763/0.001763, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.503/1.503, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.78/2.78, allocations: 469.4 MB / 0.742 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 65.06 kB / 0.9082 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3018, allocations: 159.1 MB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.003004/0.3048, allocations: 1.507 MB / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001414/0.3063, allocations: 0.765 MB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.832e-05/0.3063, allocations: 0 / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.405e-05/0.3064, allocations: 7.922 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.55e-05/0.3065, allocations: 15.86 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005628/0.3071, allocations: 127.5 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.3072, allocations: 83.77 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.3073, allocations: 15.94 kB / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.3074, allocations: 35.91 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.217e-05/0.3075, allocations: 35.83 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.3075, allocations: 8 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001995/0.3077, allocations: 99.84 kB / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.032e-05/0.3078, allocations: 23.91 kB / 1.066 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.063e-05/0.3078, allocations: 35.86 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002476/0.3081, allocations: 143.9 kB / 1.066 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3081, allocations: 0 / 1.066 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.805e-06/0.3081, allocations: 0 / 1.066 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.3081, allocations: 3.938 kB / 1.066 GB, free: 11.63 MB / 0.8262 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.0007184/0.3088, allocations: 458.6 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.3089, allocations: 12.03 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.076e-05/0.3089, allocations: 34.73 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.932e-05/0.309, allocations: 12.84 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.3091, allocations: 176.2 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.3091, allocations: 4.375 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.3092, allocations: 12.3 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.3094, allocations: 85.7 kB / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.3094, allocations: 0 / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.3094, allocations: 0 / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.3094, allocations: 0 / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.3095, allocations: 43.97 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005233/0.3101, allocations: 328.6 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.3102, allocations: 62.59 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.804e-05/0.3103, allocations: 32.84 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.3104, allocations: 7.984 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002331/0.3106, allocations: 91.36 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.844e-06/0.3106, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0003859/0.311, allocations: 153.5 kB / 1.068 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.3111, allocations: 63.39 kB / 1.068 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.3112, allocations: 129.7 kB / 1.068 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.3112, allocations: 33.7 kB / 1.068 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.665e-05/0.3112, allocations: 92.36 kB / 1.068 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/0.3113, allocations: 23.86 kB / 1.068 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.295e-05/0.3113, allocations: 33.7 kB / 1.068 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.46e-05/0.3114, allocations: 322.8 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.796e-05/0.3115, allocations: 27.98 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.961e-05/0.3117, allocations: 73.12 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.3118, allocations: 97.44 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3118, allocations: 0 / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002309/0.3121, allocations: 125.4 kB / 1.069 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.3121, allocations: 8 kB / 1.069 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.3121, allocations: 3.938 kB / 1.069 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.3121, allocations: 7.938 kB / 1.069 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.3122, allocations: 15.92 kB / 1.069 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.3123, allocations: 4 kB / 1.069 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.3124, allocations: 19.92 kB / 1.069 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.3124, allocations: 4.125 kB / 1.069 GB, free: 8.797 MB / 0.8262 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 8.667e-05/0.3125, allocations: 129.7 kB / 1.069 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/0.3125, allocations: 7.906 kB / 1.069 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002953/0.3128, allocations: 142 kB / 1.069 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.3128, allocations: 4.094 kB / 1.069 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.3128, allocations: 3.984 kB / 1.069 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.3128, allocations: 0 / 1.069 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005211/0.3134, allocations: 430.2 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3134, allocations: 0 / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.209e-05/0.3135, allocations: 11.98 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.3135, allocations: 0 / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.3135, allocations: 4 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.3135, allocations: 3.938 kB / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3135, allocations: 0 / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002759/0.3138, allocations: 235.3 kB / 1.07 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.221e-05/0.3138, allocations: 88.95 kB / 1.07 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.3139, allocations: 4 kB / 1.07 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.314, allocations: 15.92 kB / 1.07 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.314, allocations: 11.98 kB / 1.07 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.3141, allocations: 7.984 kB / 1.07 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.353e-05/0.3141, allocations: 97.27 kB / 1.07 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3141, allocations: 4 kB / 1.07 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003159/0.3144, allocations: 40 kB / 1.07 GB, free: 7.477 MB / 0.8262 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.0007371/0.3152, allocations: 0.8272 MB / 1.071 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002299/0.3154, allocations: 87.89 kB / 1.071 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3154, allocations: 0 / 1.071 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.3156, allocations: 43.92 kB / 1.071 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.3159, allocations: 17.98 kB / 1.071 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/0.3175, allocations: 1.59 MB / 1.073 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.3177, allocations: 0.6961 MB / 1.073 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.95e-05/0.3177, allocations: 16.61 kB / 1.073 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.456e-05/0.3178, allocations: 23.44 kB / 1.073 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of SimCode: time 2.8e-07/0.3178, allocations: 0 / 1.073 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02035/0.3382, allocations: 3.056 MB / 1.076 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.334/7.672, allocations: 11.61 kB / 1.076 GB, free: 1.082 MB / 0.8262 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