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.005875/0.005883, allocations: 105 kB / 15.73 MB, free: 6.055 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.001367/0.001367, allocations: 191.3 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.451/1.451, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.603/2.603, allocations: 437.1 MB / 0.7105 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001827/0.001827, allocations: 64.11 kB / 1.018 GB, free: 9.883 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8201/0.822, allocations: 151.6 MB / 1.166 GB, free: 3.746 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.003158/0.8252, allocations: 1.519 MB / 1.168 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001625/0.8269, allocations: 0.7518 MB / 1.168 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.473e-05/0.8269, allocations: 0 / 1.168 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.11e-05/0.827, allocations: 3.938 kB / 1.168 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.8271, allocations: 31.73 kB / 1.168 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006002/0.8277, allocations: 119.6 kB / 1.168 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.8279, allocations: 79.77 kB / 1.169 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.828, allocations: 19.97 kB / 1.169 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.8281, allocations: 39.8 kB / 1.169 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.085e-05/0.8282, allocations: 43.81 kB / 1.169 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.8282, allocations: 12 kB / 1.169 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002208/0.8285, allocations: 91.91 kB / 1.169 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.207e-05/0.8285, allocations: 15.98 kB / 1.169 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.417e-05/0.8286, allocations: 35.8 kB / 1.169 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003007/0.8289, allocations: 147.2 kB / 1.169 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.8289, allocations: 3.938 kB / 1.169 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8289, allocations: 0 / 1.169 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.8289, allocations: 4 kB / 1.169 GB, free: 0.8281 MB / 0.8887 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.0008768/0.8298, allocations: 466.3 kB / 1.169 GB, free: 320 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.8298, allocations: 16.86 kB / 1.169 GB, free: 304 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.899e-05/0.8299, allocations: 30.75 kB / 1.169 GB, free: 264 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.868e-05/0.83, allocations: 8.891 kB / 1.169 GB, free: 256 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.8301, allocations: 180.2 kB / 1.17 GB, free: 36 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.8302, allocations: 8.375 kB / 1.17 GB, free: 28 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.8302, allocations: 8.312 kB / 1.17 GB, free: 20 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.8304, allocations: 77.77 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.8304, allocations: 0 / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.8304, allocations: 4 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.8305, allocations: 0 / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.8306, allocations: 43.97 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005943/0.8312, allocations: 320.6 kB / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.8314, allocations: 62.55 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.221e-05/0.8315, allocations: 40.84 kB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.8315, allocations: 4 kB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002564/0.8318, allocations: 91.39 kB / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.8318, allocations: 0 / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.000419/0.8322, allocations: 157.5 kB / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.8323, allocations: 59.78 kB / 1.17 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.8324, allocations: 131.4 kB / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.8324, allocations: 33.7 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.49e-05/0.8325, allocations: 92.5 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.8325, allocations: 23.8 kB / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.913e-05/0.8326, allocations: 33.7 kB / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.8328, allocations: 322.8 kB / 1.171 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.783e-05/0.8328, allocations: 27.98 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.833, allocations: 70.62 kB / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001871/0.8332, allocations: 101 kB / 1.171 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.8332, allocations: 0 / 1.171 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002597/0.8335, allocations: 129.5 kB / 1.171 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.8335, allocations: 8 kB / 1.171 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.8335, allocations: 0 / 1.171 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.8335, allocations: 4 kB / 1.171 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.8336, allocations: 16.08 kB / 1.171 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.8336, allocations: 128 / 1.171 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.8338, allocations: 23.88 kB / 1.171 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.8338, allocations: 15.92 kB / 1.171 GB, free: 13.99 MB / 0.9044 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.0001172/0.8339, allocations: 121.7 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.005e-05/0.8339, allocations: 7.953 kB / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000334/0.8343, allocations: 142 kB / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.8343, allocations: 7.984 kB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.8343, allocations: 7.938 kB / 1.172 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.8343, allocations: 0 / 1.172 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006404/0.835, allocations: 426.3 kB / 1.172 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.835, allocations: 0 / 1.172 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.433e-05/0.8351, allocations: 15.92 kB / 1.172 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.8351, allocations: 0 / 1.172 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.8351, allocations: 4 kB / 1.172 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.8351, allocations: 3.938 kB / 1.172 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.8351, allocations: 0 / 1.172 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000312/0.8354, allocations: 227.5 kB / 1.172 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.693e-05/0.8355, allocations: 92.94 kB / 1.172 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.8355, allocations: 0 / 1.172 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.8356, allocations: 11.92 kB / 1.172 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.037e-05/0.8357, allocations: 15.98 kB / 1.172 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.8357, allocations: 8 kB / 1.173 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.862e-05/0.8358, allocations: 99.27 kB / 1.173 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8358, allocations: 0 / 1.173 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003204/0.8361, allocations: 43.92 kB / 1.173 GB, free: 12.67 MB / 0.9044 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.000913/0.837, allocations: 0.8273 MB / 1.173 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002558/0.8373, allocations: 83.89 kB / 1.174 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.8373, allocations: 0 / 1.174 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.8374, allocations: 47.92 kB / 1.174 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.8377, allocations: 20.17 kB / 1.174 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001921/0.8397, allocations: 1.59 MB / 1.175 GB, free: 9.988 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.8401, allocations: 0.7001 MB / 1.176 GB, free: 9.262 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.743e-05/0.8401, allocations: 4.438 kB / 1.176 GB, free: 9.258 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.138e-05/0.8402, allocations: 35.42 kB / 1.176 GB, free: 9.223 MB / 0.9044 GB Notification: Performance of SimCode: time 3.7e-07/0.8402, allocations: 0 / 1.176 GB, free: 9.223 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02395/0.8642, allocations: 3.095 MB / 1.179 GB, free: 6.246 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.886/8.751, allocations: 13.88 kB / 1.179 GB, free: 6.238 MB / 0.9044 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