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.005317/0.005317, allocations: 99.81 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.001248/0.001248, allocations: 192.2 kB / 16.67 MB, free: 5.969 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.497/2.497, allocations: 437.1 MB / 0.7105 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 59.91 kB / 1.018 GB, free: 9.922 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8553/0.8567, allocations: 151.6 MB / 1.166 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002961/0.8597, allocations: 1.52 MB / 1.168 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001349/0.8611, allocations: 0.7556 MB / 1.168 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.111e-05/0.8612, allocations: 4 kB / 1.168 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.793e-05/0.8612, allocations: 7.938 kB / 1.168 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.8613, allocations: 15.84 kB / 1.168 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006309/0.862, allocations: 123.6 kB / 1.168 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.8621, allocations: 83.77 kB / 1.169 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.8623, allocations: 11.98 kB / 1.169 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.8624, allocations: 51.78 kB / 1.169 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.627e-05/0.8624, allocations: 43.83 kB / 1.169 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.294e-05/0.8625, allocations: 8 kB / 1.169 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000193/0.8627, allocations: 83.91 kB / 1.169 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.839e-05/0.8627, allocations: 15.98 kB / 1.169 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.105e-05/0.8628, allocations: 39.78 kB / 1.169 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.8631, allocations: 151.2 kB / 1.169 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.8631, allocations: 0 / 1.169 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8631, allocations: 0 / 1.169 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.8631, allocations: 3.938 kB / 1.169 GB, free: 0.8672 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.0008064/0.8639, allocations: 474.3 kB / 1.169 GB, free: 352 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.8639, allocations: 8.922 kB / 1.169 GB, free: 344 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.222e-05/0.864, allocations: 38.75 kB / 1.169 GB, free: 296 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.971e-05/0.864, allocations: 12.88 kB / 1.169 GB, free: 284 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.8642, allocations: 173.9 kB / 1.17 GB, free: 72 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.8642, allocations: 384 / 1.17 GB, free: 72 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.8642, allocations: 8.375 kB / 1.17 GB, free: 64 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002228/0.8645, allocations: 77.7 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.8645, allocations: 4 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.8645, allocations: 8 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.8645, allocations: 0 / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.8646, allocations: 35.97 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005563/0.8652, allocations: 328.6 kB / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.8654, allocations: 66.55 kB / 1.17 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.529e-05/0.8655, allocations: 32.84 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.8655, allocations: 4 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002596/0.8658, allocations: 91.39 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.8658, allocations: 0 / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0003883/0.8662, allocations: 165.5 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.8662, allocations: 51.41 kB / 1.17 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.8663, allocations: 129.8 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.8663, allocations: 30.08 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.273e-05/0.8664, allocations: 96.36 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.8664, allocations: 19.86 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.313e-05/0.8665, allocations: 29.7 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.8666, allocations: 330.7 kB / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.04e-05/0.8667, allocations: 27.98 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.997e-05/0.8668, allocations: 65.88 kB / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.867, allocations: 105 kB / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.867, allocations: 0 / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002257/0.8672, allocations: 129.5 kB / 1.171 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.8672, allocations: 7.938 kB / 1.171 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.8672, allocations: 4 kB / 1.171 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.8673, allocations: 0 / 1.171 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.8674, allocations: 24.11 kB / 1.171 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.8674, allocations: 4 kB / 1.171 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.8675, allocations: 19.88 kB / 1.171 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.8675, allocations: 4 kB / 1.171 GB, free: 14.03 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 9.84e-05/0.8676, allocations: 131.4 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.966e-05/0.8676, allocations: 11.94 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000306/0.8679, allocations: 142 kB / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.868, allocations: 4 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.868, allocations: 0 / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.868, allocations: 0 / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005398/0.8685, allocations: 434.5 kB / 1.172 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.8685, allocations: 0 / 1.172 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.555e-05/0.8686, allocations: 15.92 kB / 1.172 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.8686, allocations: 0 / 1.172 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.8686, allocations: 4 kB / 1.172 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.8686, allocations: 7.938 kB / 1.172 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.8687, allocations: 0 / 1.172 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002708/0.8689, allocations: 227.4 kB / 1.172 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.159e-05/0.869, allocations: 85 kB / 1.172 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.869, allocations: 4 kB / 1.172 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.8691, allocations: 15.92 kB / 1.172 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.083e-05/0.8692, allocations: 11.98 kB / 1.172 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.8692, allocations: 8 kB / 1.172 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.711e-05/0.8693, allocations: 96.89 kB / 1.173 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8693, allocations: 0 / 1.173 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003211/0.8696, allocations: 43.92 kB / 1.173 GB, free: 12.71 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.0008031/0.8704, allocations: 0.8338 MB / 1.173 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002287/0.8707, allocations: 83.89 kB / 1.174 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.8707, allocations: 0 / 1.174 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.8708, allocations: 43.92 kB / 1.174 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.8711, allocations: 24.17 kB / 1.174 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/0.8727, allocations: 1.586 MB / 1.175 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.873, allocations: 0.7001 MB / 1.176 GB, free: 9.297 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.765e-05/0.873, allocations: 12.44 kB / 1.176 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.215e-05/0.8731, allocations: 27.42 kB / 1.176 GB, free: 9.258 MB / 0.9044 GB Notification: Performance of SimCode: time 3.91e-07/0.8731, allocations: 0 / 1.176 GB, free: 9.258 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01991/0.893, allocations: 3.1 MB / 1.179 GB, free: 6.277 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.426/8.319, allocations: 19.91 kB / 1.179 GB, free: 6.262 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