Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.001741/0.001741, allocations: 110 kB / 16.46 MB, free: 6.453 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.002153/0.002153, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.504/1.504, allocations: 230.6 MB / 252.8 MB, free: 8.977 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.812/2.812, allocations: 476.7 MB / 0.7672 GB, free: 5.23 MB / 0.6231 GB " [Timeout remaining time 177] 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.Love1998Light2,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",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.002081/0.002081, allocations: 75.89 kB / 1.112 GB, free: 1.574 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8625/0.8645, allocations: 169.9 MB / 1.278 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.003305/0.8679, allocations: 1.538 MB / 1.28 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001892/0.8697, allocations: 0.8468 MB / 1.281 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.8699, allocations: 7.938 kB / 1.281 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.591e-05/0.8699, allocations: 3.938 kB / 1.281 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001391/0.87, allocations: 15.84 kB / 1.281 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008469/0.8709, allocations: 143.5 kB / 1.281 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002109/0.8711, allocations: 87.66 kB / 1.281 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.8712, allocations: 15.97 kB / 1.281 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002008/0.8714, allocations: 39.92 kB / 1.281 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.526e-05/0.8715, allocations: 43.81 kB / 1.281 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.8715, allocations: 11.94 kB / 1.281 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002873/0.8718, allocations: 119.8 kB / 1.281 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.805e-05/0.8719, allocations: 19.92 kB / 1.281 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.19e-05/0.8719, allocations: 39.78 kB / 1.281 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000392/0.8723, allocations: 153.3 kB / 1.281 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.8723, allocations: 0 / 1.281 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8723, allocations: 0 / 1.281 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.8723, allocations: 0 / 1.281 GB, free: 10.33 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.000964/0.8733, allocations: 478.2 kB / 1.282 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/0.8734, allocations: 8.031 kB / 1.282 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.617e-05/0.8734, allocations: 42.73 kB / 1.282 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003548/0.8738, allocations: 24.88 kB / 1.282 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002999/0.8741, allocations: 192.2 kB / 1.282 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.8741, allocations: 4.375 kB / 1.282 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.8741, allocations: 8.375 kB / 1.282 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/0.8743, allocations: 77.7 kB / 1.282 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.8743, allocations: 4 kB / 1.282 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.8744, allocations: 4 kB / 1.282 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.8744, allocations: 0 / 1.282 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001654/0.8745, allocations: 39.97 kB / 1.282 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006613/0.8752, allocations: 324.6 kB / 1.282 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.8754, allocations: 62.55 kB / 1.282 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.91e-05/0.8755, allocations: 28.84 kB / 1.282 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.8755, allocations: 0 / 1.282 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002227/0.8757, allocations: 99.38 kB / 1.283 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 3.827e-06/0.8757, allocations: 3.984 kB / 1.283 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0004779/0.8762, allocations: 161.8 kB / 1.283 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.8762, allocations: 51.41 kB / 1.283 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.8764, allocations: 133.8 kB / 1.283 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/0.8764, allocations: 29.7 kB / 1.283 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.296e-05/0.8765, allocations: 100.5 kB / 1.283 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.8765, allocations: 19.86 kB / 1.283 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.215e-05/0.8766, allocations: 33.7 kB / 1.283 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001908/0.8768, allocations: 322.8 kB / 1.283 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.747e-05/0.8769, allocations: 35.98 kB / 1.283 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.877, allocations: 72.75 kB / 1.283 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.8772, allocations: 101.1 kB / 1.284 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.8772, allocations: 0 / 1.284 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002793/0.8775, allocations: 133.4 kB / 1.284 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.8775, allocations: 4 kB / 1.284 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.8775, allocations: 0 / 1.284 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.8775, allocations: 4 kB / 1.284 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.8776, allocations: 24.05 kB / 1.284 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.8776, allocations: 0 / 1.284 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.8778, allocations: 19.88 kB / 1.284 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.8778, allocations: 8 kB / 1.284 GB, free: 7.445 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.8779, allocations: 129.7 kB / 1.284 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.246e-05/0.8779, allocations: 7.953 kB / 1.284 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003749/0.8783, allocations: 142 kB / 1.284 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.8783, allocations: 4 kB / 1.284 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.8783, allocations: 0 / 1.284 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.8783, allocations: 0 / 1.284 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000636/0.8789, allocations: 438.2 kB / 1.284 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.8789, allocations: 0 / 1.284 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.256e-05/0.879, allocations: 11.98 kB / 1.284 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/0.879, allocations: 4 kB / 1.284 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.879, allocations: 3.938 kB / 1.284 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.879, allocations: 7.938 kB / 1.284 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.879, allocations: 3.984 kB / 1.284 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003252/0.8794, allocations: 227.4 kB / 1.285 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.626e-05/0.8794, allocations: 85.06 kB / 1.285 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/0.8794, allocations: 7.984 kB / 1.285 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.8796, allocations: 7.938 kB / 1.285 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.407e-05/0.8796, allocations: 11.98 kB / 1.285 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.8796, allocations: 11.98 kB / 1.285 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.239e-05/0.8797, allocations: 101.5 kB / 1.285 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8797, allocations: 0 / 1.285 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003371/0.8801, allocations: 39.94 kB / 1.285 GB, free: 6.113 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.001011/0.8811, allocations: 0.8356 MB / 1.286 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002585/0.8813, allocations: 79.89 kB / 1.286 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.8813, allocations: 0 / 1.286 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.8814, allocations: 39.92 kB / 1.286 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.8817, allocations: 26.41 kB / 1.286 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.8838, allocations: 1.608 MB / 1.287 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.8841, allocations: 0.6924 MB / 1.288 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.49e-05/0.8842, allocations: 16.42 kB / 1.288 GB, free: 2.676 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.11e-05/0.8842, allocations: 27.42 kB / 1.288 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of SimCode: time 7.31e-07/0.8842, allocations: 0 / 1.288 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0303/0.9145, allocations: 3.137 MB / 1.291 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.343/9.257, allocations: 12.92 kB / 1.291 GB, free: 15.62 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_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_Love1998Light2.fmu > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.Love1998Light2_res.csv. Warning: Get data of variable lig.occ from file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.csv failed! Error: Could not read variable lig.on in file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.csv. Warning: Get data of variable lig.on from file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.507088646991178]