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.001404/0.001404, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001627/0.001627, allocations: 217 kB / 22.25 MB, free: 4.855 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.528/1.528, allocations: 230.6 MB / 256 MB, free: 7.793 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.825/2.825, allocations: 476 MB / 0.7699 GB, free: 4.727 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.002259/0.002259, allocations: 69.92 kB / 1.117 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3604, allocations: 170 MB / 1.283 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002997/0.3634, allocations: 1.509 MB / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001621/0.3651, allocations: 0.8002 MB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.41e-05/0.3651, allocations: 4 kB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.925e-05/0.3651, allocations: 7.922 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.292e-05/0.3652, allocations: 15.81 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006322/0.3659, allocations: 155.5 kB / 1.285 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001386/0.366, allocations: 79.72 kB / 1.285 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.469e-05/0.3661, allocations: 7.984 kB / 1.285 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.3662, allocations: 47.84 kB / 1.285 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.345e-05/0.3663, allocations: 35.83 kB / 1.285 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.3664, allocations: 8 kB / 1.285 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003043/0.3667, allocations: 143.7 kB / 1.285 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.468e-05/0.3667, allocations: 23.92 kB / 1.285 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.806e-05/0.3667, allocations: 31.84 kB / 1.285 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003497/0.3671, allocations: 167 kB / 1.285 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.3671, allocations: 0 / 1.285 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3671, allocations: 0 / 1.285 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.3671, allocations: 0 / 1.285 GB, free: 9.391 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.0008149/0.3679, allocations: 397.2 kB / 1.286 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.368, allocations: 8.031 kB / 1.286 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.213e-05/0.368, allocations: 30.75 kB / 1.286 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003058/0.3683, allocations: 36.86 kB / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.3686, allocations: 138.3 kB / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.3686, allocations: 4.359 kB / 1.286 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.3686, allocations: 4.375 kB / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.3688, allocations: 77.77 kB / 1.286 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.3688, allocations: 4 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.3688, allocations: 3.938 kB / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.3688, allocations: 0 / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/0.369, allocations: 43.91 kB / 1.286 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005409/0.3695, allocations: 283.8 kB / 1.286 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.3697, allocations: 58.55 kB / 1.287 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.224e-05/0.3697, allocations: 36.88 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.3698, allocations: 0 / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001988/0.37, allocations: 95.36 kB / 1.287 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.37, allocations: 0 / 1.287 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0004112/0.3704, allocations: 165.5 kB / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.3704, allocations: 55.41 kB / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.3705, allocations: 131.9 kB / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.3706, allocations: 29.7 kB / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.83e-05/0.3706, allocations: 92.33 kB / 1.287 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.241e-05/0.3707, allocations: 31.92 kB / 1.287 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.475e-05/0.3707, allocations: 29.7 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.3709, allocations: 326.8 kB / 1.287 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.788e-05/0.371, allocations: 27.98 kB / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.3711, allocations: 69.08 kB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001843/0.3713, allocations: 101.1 kB / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3713, allocations: 0 / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002441/0.3715, allocations: 129.5 kB / 1.288 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.3715, allocations: 4.125 kB / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.3715, allocations: 8 kB / 1.288 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.3715, allocations: 0 / 1.288 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.3717, allocations: 19.92 kB / 1.288 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3717, allocations: 0 / 1.288 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.3718, allocations: 20.31 kB / 1.288 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.3718, allocations: 4 kB / 1.288 GB, free: 6.73 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.0001115/0.3719, allocations: 125.7 kB / 1.288 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.124e-05/0.3719, allocations: 7.953 kB / 1.288 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003421/0.3723, allocations: 165.8 kB / 1.288 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.3723, allocations: 7.984 kB / 1.288 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3723, allocations: 0 / 1.288 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.3723, allocations: 3.984 kB / 1.288 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005756/0.3728, allocations: 381.5 kB / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3728, allocations: 4 kB / 1.289 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.931e-05/0.3729, allocations: 11.98 kB / 1.289 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3729, allocations: 0 / 1.289 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.3729, allocations: 0 / 1.289 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.3729, allocations: 7.938 kB / 1.289 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3729, allocations: 0 / 1.289 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003386/0.3733, allocations: 235.3 kB / 1.289 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.708e-05/0.3733, allocations: 7.953 kB / 1.289 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.3733, allocations: 0 / 1.289 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.3734, allocations: 19.92 kB / 1.289 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.964e-05/0.3735, allocations: 7.984 kB / 1.289 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.3735, allocations: 4 kB / 1.289 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.996e-05/0.3736, allocations: 105.9 kB / 1.289 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3736, allocations: 0 / 1.289 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003235/0.3739, allocations: 47.88 kB / 1.289 GB, free: 5.527 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.0009901/0.3749, allocations: 0.8312 MB / 1.29 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002515/0.3751, allocations: 80.08 kB / 1.29 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3751, allocations: 4.062 kB / 1.29 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.3753, allocations: 39.92 kB / 1.29 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.3756, allocations: 23.86 kB / 1.29 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001897/0.3775, allocations: 1.602 MB / 1.291 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.355e-05/0.3775, allocations: 83.89 kB / 1.292 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.981e-05/0.3776, allocations: 12.59 kB / 1.292 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.665e-05/0.3777, allocations: 31.42 kB / 1.292 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of SimCode: time 4.31e-07/0.3777, allocations: 0 / 1.292 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03189/0.4095, allocations: 3.738 MB / 1.295 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.99, allocations: 7.953 kB / 1.295 GB, free: 15.1 MB / 0.9981 GB " [Timeout remaining time 287] (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.815104224719107]