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.00166/0.00166, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002194/0.002194, allocations: 215.6 kB / 22.25 MB, free: 5.129 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.487/1.487, allocations: 230.6 MB / 256 MB, free: 8.004 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.804/2.804, allocations: 476.7 MB / 0.7707 GB, free: 4.285 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.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.002076/0.002076, allocations: 68.97 kB / 1.117 GB, free: 39.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.335, allocations: 170 MB / 1.283 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002998/0.338, allocations: 1.545 MB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001622/0.3396, allocations: 0.8586 MB / 1.286 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.696e-05/0.3397, allocations: 0 / 1.286 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.157e-05/0.3397, allocations: 3.938 kB / 1.286 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.841e-05/0.3398, allocations: 19.86 kB / 1.286 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006324/0.3404, allocations: 159.4 kB / 1.286 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.3406, allocations: 91.7 kB / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.058e-05/0.3406, allocations: 4 kB / 1.286 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.3408, allocations: 51.83 kB / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.034e-05/0.3409, allocations: 35.84 kB / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.3409, allocations: 8 kB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002844/0.3412, allocations: 143.8 kB / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.542e-05/0.3412, allocations: 19.91 kB / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.051e-05/0.3412, allocations: 43.8 kB / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002794/0.3415, allocations: 167.7 kB / 1.286 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3415, allocations: 0 / 1.286 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3415, allocations: 0 / 1.286 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.3415, allocations: 3.938 kB / 1.286 GB, free: 8.469 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.0007031/0.3422, allocations: 398.8 kB / 1.287 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.3423, allocations: 8.031 kB / 1.287 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.512e-05/0.3423, allocations: 42.75 kB / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002983/0.3426, allocations: 28.86 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002534/0.3429, allocations: 130.4 kB / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.3429, allocations: 4.375 kB / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.3429, allocations: 12.31 kB / 1.287 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.3431, allocations: 69.78 kB / 1.287 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.3431, allocations: 4 kB / 1.287 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.3431, allocations: 4 kB / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.3431, allocations: 3.984 kB / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.3433, allocations: 43.97 kB / 1.287 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005291/0.3438, allocations: 295.7 kB / 1.287 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.3439, allocations: 58.55 kB / 1.287 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.439e-05/0.344, allocations: 32.84 kB / 1.288 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.344, allocations: 4 kB / 1.288 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001964/0.3442, allocations: 95.39 kB / 1.288 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.3442, allocations: 0 / 1.288 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0003989/0.3446, allocations: 157.5 kB / 1.288 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.3447, allocations: 51.41 kB / 1.288 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.3448, allocations: 140.6 kB / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.3448, allocations: 30.08 kB / 1.288 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.998e-05/0.3449, allocations: 88.38 kB / 1.288 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/0.3449, allocations: 31.92 kB / 1.288 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.527e-05/0.345, allocations: 33.7 kB / 1.288 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.3451, allocations: 322.7 kB / 1.288 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.838e-05/0.3452, allocations: 35.91 kB / 1.288 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.3453, allocations: 67.77 kB / 1.289 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001773/0.3455, allocations: 101 kB / 1.289 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.3455, allocations: 4 kB / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002535/0.3457, allocations: 133.5 kB / 1.289 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.3458, allocations: 4 kB / 1.289 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.3458, allocations: 4.094 kB / 1.289 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.3458, allocations: 3.984 kB / 1.289 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.3459, allocations: 15.98 kB / 1.289 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.3459, allocations: 0 / 1.289 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.346, allocations: 20.06 kB / 1.289 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.346, allocations: 8 kB / 1.289 GB, free: 5.793 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.0001044/0.3461, allocations: 129.7 kB / 1.289 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.074e-05/0.3462, allocations: 7.953 kB / 1.289 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003213/0.3465, allocations: 142 kB / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.3465, allocations: 0 / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.3465, allocations: 3.938 kB / 1.289 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.3465, allocations: 3.938 kB / 1.289 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005777/0.3471, allocations: 397.5 kB / 1.289 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.3471, allocations: 4 kB / 1.289 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.907e-05/0.3471, allocations: 7.938 kB / 1.289 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.3471, allocations: 4 kB / 1.289 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.3472, allocations: 3.984 kB / 1.289 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.3472, allocations: 3.938 kB / 1.289 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.3472, allocations: 0 / 1.289 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003053/0.3475, allocations: 231.4 kB / 1.29 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.743e-05/0.3475, allocations: 7.938 kB / 1.29 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.3475, allocations: 8 kB / 1.29 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.3476, allocations: 11.94 kB / 1.29 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/0.3477, allocations: 11.97 kB / 1.29 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.3477, allocations: 4 kB / 1.29 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.484e-05/0.3478, allocations: 99.27 kB / 1.29 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3478, allocations: 4 kB / 1.29 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003342/0.3481, allocations: 47.86 kB / 1.29 GB, free: 4.598 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.0008858/0.349, allocations: 0.8216 MB / 1.291 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002405/0.3492, allocations: 75.91 kB / 1.291 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3492, allocations: 0 / 1.291 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.3493, allocations: 47.91 kB / 1.291 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.3496, allocations: 16.44 kB / 1.291 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.3516, allocations: 1.627 MB / 1.292 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.3519, allocations: 0.6924 MB / 1.293 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.639e-05/0.3519, allocations: 8.438 kB / 1.293 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.283e-05/0.352, allocations: 27.42 kB / 1.293 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.352, allocations: 4 kB / 1.293 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02974/0.3817, allocations: 3.301 MB / 1.296 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.5, allocations: 8.156 kB / 1.296 GB, free: 13.98 MB / 0.9981 GB " [Timeout remaining time 288] (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: 18.438924873998985]