Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00173/0.00173, allocations: 104.7 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002163/0.002163, allocations: 212.9 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.531/1.531, allocations: 230.6 MB / 252.8 MB, free: 9.141 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.83/2.83, allocations: 476.7 MB / 0.7672 GB, free: 5.402 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00216/0.00216, allocations: 67.89 kB / 1.112 GB, free: 1.605 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8689/0.8711, allocations: 169.9 MB / 1.278 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002854/0.8739, allocations: 1.53 MB / 1.28 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001524/0.8755, allocations: 0.8468 MB / 1.281 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.396e-05/0.8755, allocations: 3.938 kB / 1.281 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.672e-05/0.8755, allocations: 3.938 kB / 1.281 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.013e-05/0.8756, allocations: 15.86 kB / 1.281 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000547/0.8762, allocations: 151.5 kB / 1.281 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.8763, allocations: 91.64 kB / 1.281 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.214e-05/0.8764, allocations: 7.984 kB / 1.281 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.8765, allocations: 43.84 kB / 1.281 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.129e-05/0.8766, allocations: 39.83 kB / 1.281 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.8766, allocations: 8 kB / 1.281 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002231/0.8768, allocations: 119.8 kB / 1.281 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.047e-05/0.8769, allocations: 23.91 kB / 1.281 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.829e-05/0.8769, allocations: 35.8 kB / 1.281 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002829/0.8772, allocations: 161.3 kB / 1.281 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.8772, allocations: 4 kB / 1.281 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8772, allocations: 0 / 1.281 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.8772, allocations: 0 / 1.281 GB, free: 10.36 MB / 0.9825 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.0007807/0.878, allocations: 474.2 kB / 1.282 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.878, allocations: 8.031 kB / 1.282 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.619e-05/0.8781, allocations: 38.73 kB / 1.282 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002981/0.8784, allocations: 24.88 kB / 1.282 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.8786, allocations: 192.2 kB / 1.282 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.8786, allocations: 8.375 kB / 1.282 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.8787, allocations: 4.375 kB / 1.282 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.8789, allocations: 85.7 kB / 1.282 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.8789, allocations: 0 / 1.282 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.8789, allocations: 0 / 1.282 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.8789, allocations: 0 / 1.282 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.879, allocations: 43.97 kB / 1.282 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005659/0.8796, allocations: 324.7 kB / 1.282 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.8797, allocations: 62.58 kB / 1.282 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.406e-05/0.8798, allocations: 28.84 kB / 1.282 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.8798, allocations: 0 / 1.282 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000198/0.88, allocations: 95.34 kB / 1.283 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.88, allocations: 0 / 1.283 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0004343/0.8805, allocations: 165.5 kB / 1.283 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.8805, allocations: 55.34 kB / 1.283 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.8806, allocations: 136.9 kB / 1.283 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.106e-05/0.8807, allocations: 29.7 kB / 1.283 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.934e-05/0.8807, allocations: 96.36 kB / 1.283 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.8808, allocations: 28 kB / 1.283 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.925e-05/0.8808, allocations: 37.7 kB / 1.283 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.881, allocations: 322.8 kB / 1.283 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.203e-05/0.8811, allocations: 27.98 kB / 1.283 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.8812, allocations: 69.12 kB / 1.283 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001965/0.8814, allocations: 97.08 kB / 1.284 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.8814, allocations: 0 / 1.284 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002639/0.8817, allocations: 129.5 kB / 1.284 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.8817, allocations: 8 kB / 1.284 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.8817, allocations: 3.938 kB / 1.284 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.8817, allocations: 4 kB / 1.284 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.8818, allocations: 19.92 kB / 1.284 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.8818, allocations: 0 / 1.284 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.8819, allocations: 23.88 kB / 1.284 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.8819, allocations: 4 kB / 1.284 GB, free: 7.488 MB / 0.9825 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.0001183/0.8821, allocations: 125.8 kB / 1.284 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.631e-05/0.8821, allocations: 15.94 kB / 1.284 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003539/0.8824, allocations: 142 kB / 1.284 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.8824, allocations: 4 kB / 1.284 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.8824, allocations: 0 / 1.284 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.8824, allocations: 0 / 1.284 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006478/0.8831, allocations: 430.2 kB / 1.284 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.8831, allocations: 0 / 1.284 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.062e-05/0.8832, allocations: 11.98 kB / 1.284 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.8832, allocations: 0 / 1.284 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.8832, allocations: 8 kB / 1.284 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.8832, allocations: 3.938 kB / 1.284 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.8832, allocations: 0 / 1.284 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003327/0.8835, allocations: 231.5 kB / 1.285 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.608e-05/0.8836, allocations: 89.44 kB / 1.285 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.8836, allocations: 4 kB / 1.285 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.8837, allocations: 19.92 kB / 1.285 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.548e-05/0.8838, allocations: 7.984 kB / 1.285 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.8838, allocations: 7.938 kB / 1.285 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.543e-05/0.8839, allocations: 103.2 kB / 1.285 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8839, allocations: 0 / 1.285 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003258/0.8842, allocations: 39.94 kB / 1.285 GB, free: 6.156 MB / 0.9825 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.0009164/0.8851, allocations: 0.8264 MB / 1.286 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002487/0.8854, allocations: 83.89 kB / 1.286 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.8854, allocations: 0 / 1.286 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.8855, allocations: 47.97 kB / 1.286 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.8858, allocations: 17.64 kB / 1.286 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/0.8877, allocations: 1.612 MB / 1.287 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.888, allocations: 0.6963 MB / 1.288 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.519e-05/0.8881, allocations: 12.42 kB / 1.288 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.525e-05/0.8881, allocations: 31.36 kB / 1.288 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.8881, allocations: 0 / 1.288 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0264/0.9146, allocations: 3.142 MB / 1.291 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.448/9.362, allocations: 17.11 kB / 1.291 GB, free: 15.66 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.fmu > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable lig.occ in file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.csv. Warning: Get data of variable lig.occ from file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.csv failed! Error: Could not read variable lig.on in file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.csv. Warning: Get data of variable lig.on from file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.706012845039368]