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.001926/0.001926, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002455/0.002455, allocations: 211.5 kB / 22.24 MB, free: 5.242 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.571/1.571, allocations: 230.6 MB / 256 MB, free: 7.809 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.877/2.877, allocations: 476 MB / 0.7699 GB, free: 4.738 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.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.002216/0.002216, allocations: 66.23 kB / 1.117 GB, free: 41.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3363, allocations: 170 MB / 1.283 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.003268/0.3396, allocations: 1.527 MB / 1.284 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001732/0.3413, allocations: 0.7964 MB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.082e-05/0.3414, allocations: 4 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.857e-05/0.3414, allocations: 11.86 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.706e-05/0.3415, allocations: 11.86 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006637/0.3422, allocations: 155.5 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.3423, allocations: 83.72 kB / 1.285 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.197e-05/0.3424, allocations: 7.984 kB / 1.285 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.3426, allocations: 47.83 kB / 1.285 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.98e-05/0.3427, allocations: 31.84 kB / 1.285 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.3427, allocations: 12 kB / 1.285 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000337/0.343, allocations: 143.7 kB / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.16e-05/0.3431, allocations: 19.92 kB / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.934e-05/0.3431, allocations: 27.86 kB / 1.285 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002871/0.3434, allocations: 165.2 kB / 1.285 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3434, allocations: 0 / 1.285 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3434, allocations: 4 kB / 1.285 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.3434, allocations: 0 / 1.285 GB, free: 9.5 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.0007918/0.3442, allocations: 397.1 kB / 1.286 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.3442, allocations: 12.03 kB / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.854e-05/0.3443, allocations: 38.69 kB / 1.286 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002875/0.3446, allocations: 28.86 kB / 1.286 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002809/0.3449, allocations: 133.7 kB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.3449, allocations: 4.375 kB / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.3449, allocations: 8.359 kB / 1.286 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.3451, allocations: 73.78 kB / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.3451, allocations: 3.984 kB / 1.286 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.3451, allocations: 3.938 kB / 1.286 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.3451, allocations: 4 kB / 1.286 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.3453, allocations: 43.97 kB / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000533/0.3458, allocations: 279.8 kB / 1.286 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.346, allocations: 62.58 kB / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.705e-05/0.3461, allocations: 32.84 kB / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.3461, allocations: 4 kB / 1.287 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002254/0.3463, allocations: 95.3 kB / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.683e-06/0.3463, allocations: 0 / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0004125/0.3467, allocations: 161.5 kB / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.3468, allocations: 51.41 kB / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.3469, allocations: 129.8 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.3469, allocations: 29.7 kB / 1.287 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.752e-05/0.347, allocations: 92.33 kB / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.989e-05/0.347, allocations: 27.78 kB / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.722e-05/0.3471, allocations: 33.7 kB / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001951/0.3473, allocations: 326.8 kB / 1.287 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.655e-05/0.3474, allocations: 35.92 kB / 1.288 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.3475, allocations: 71.44 kB / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.3477, allocations: 93.08 kB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.3477, allocations: 4 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002518/0.3479, allocations: 133.5 kB / 1.288 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.3479, allocations: 8 kB / 1.288 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3479, allocations: 0 / 1.288 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.348, allocations: 4 kB / 1.288 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.3481, allocations: 15.92 kB / 1.288 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.3481, allocations: 4 kB / 1.288 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.3482, allocations: 15.94 kB / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.3482, allocations: 8 kB / 1.288 GB, free: 6.84 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.000109/0.3483, allocations: 125.8 kB / 1.288 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.986e-05/0.3483, allocations: 7.953 kB / 1.288 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003469/0.3487, allocations: 153.9 kB / 1.288 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.3487, allocations: 3.984 kB / 1.288 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3487, allocations: 0 / 1.288 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3487, allocations: 96 / 1.288 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006252/0.3493, allocations: 397.5 kB / 1.289 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3493, allocations: 0 / 1.289 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.917e-05/0.3494, allocations: 16.36 kB / 1.289 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3494, allocations: 0 / 1.289 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.3494, allocations: 0 / 1.289 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/0.3494, allocations: 7.938 kB / 1.289 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3494, allocations: 3.938 kB / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003338/0.3497, allocations: 231.3 kB / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.724e-05/0.3498, allocations: 7.953 kB / 1.289 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.3498, allocations: 4 kB / 1.289 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.3499, allocations: 15.92 kB / 1.289 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.3499, allocations: 7.984 kB / 1.289 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.35, allocations: 8 kB / 1.289 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.154e-05/0.35, allocations: 103.2 kB / 1.289 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.35, allocations: 0 / 1.289 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003253/0.3504, allocations: 43.88 kB / 1.289 GB, free: 5.641 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.0009394/0.3513, allocations: 0.829 MB / 1.29 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002542/0.3516, allocations: 79.89 kB / 1.29 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3516, allocations: 0 / 1.29 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.3517, allocations: 39.92 kB / 1.29 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.352, allocations: 26.98 kB / 1.29 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00197/0.3539, allocations: 1.603 MB / 1.291 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.21e-05/0.354, allocations: 79.89 kB / 1.292 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.065e-05/0.3541, allocations: 12.59 kB / 1.292 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.795e-05/0.3541, allocations: 31.42 kB / 1.292 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of SimCode: time 4.91e-07/0.3541, allocations: 0 / 1.292 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03494/0.3891, allocations: 3.754 MB / 1.295 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.92, allocations: 11.81 kB / 1.295 GB, free: 15.21 MB / 0.9981 GB " [Timeout remaining time 287] (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: 18.898876096587628]