Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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.001781/0.001781, 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.00218/0.00218, allocations: 207.8 kB / 22.24 MB, free: 4.859 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: 7.805 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.872/2.872, allocations: 476 MB / 0.7699 GB, free: 4.766 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.Reinhart2003Light,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light",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.002074/0.002074, allocations: 69.22 kB / 1.117 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3582, allocations: 170 MB / 1.283 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.003161/0.3614, allocations: 1.548 MB / 1.284 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001707/0.3631, allocations: 0.8041 MB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.664e-05/0.3631, allocations: 3.938 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.945e-05/0.3632, allocations: 7.938 kB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.3633, allocations: 23.75 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006091/0.3639, allocations: 155.5 kB / 1.285 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.364, allocations: 103.6 kB / 1.285 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.259e-05/0.3641, allocations: 4 kB / 1.285 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001643/0.3643, allocations: 55.77 kB / 1.285 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.024e-05/0.3644, allocations: 47.81 kB / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.3644, allocations: 8 kB / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002885/0.3647, allocations: 143.8 kB / 1.285 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.461e-05/0.3647, allocations: 27.89 kB / 1.285 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.475e-05/0.3648, allocations: 35.8 kB / 1.285 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000303/0.3651, allocations: 183 kB / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.3651, allocations: 0 / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3651, allocations: 0 / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.3651, allocations: 0 / 1.286 GB, free: 9.332 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008096/0.3659, allocations: 438.8 kB / 1.286 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.3659, allocations: 12.03 kB / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.51e-05/0.366, allocations: 38.75 kB / 1.286 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003018/0.3663, allocations: 32.86 kB / 1.286 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.3666, allocations: 142.9 kB / 1.286 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.3666, allocations: 4.375 kB / 1.286 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.3666, allocations: 7.938 kB / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.3668, allocations: 81.58 kB / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.3668, allocations: 0 / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.3668, allocations: 0 / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.3668, allocations: 8 kB / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000154/0.367, allocations: 55.89 kB / 1.286 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00056/0.3676, allocations: 291.8 kB / 1.287 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002186/0.3678, allocations: 78.75 kB / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.858e-05/0.3679, allocations: 36.78 kB / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.3679, allocations: 0 / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002208/0.3681, allocations: 103.4 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.483e-06/0.3681, allocations: 0 / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0004472/0.3685, allocations: 181.5 kB / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/0.3686, allocations: 59.34 kB / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.3688, allocations: 153 kB / 1.287 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.3688, allocations: 33.64 kB / 1.287 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.499e-05/0.3688, allocations: 96.12 kB / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.497e-05/0.3689, allocations: 31.73 kB / 1.287 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.935e-05/0.3689, allocations: 37.7 kB / 1.287 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.3691, allocations: 318.8 kB / 1.288 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.811e-05/0.3692, allocations: 31.98 kB / 1.288 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.3693, allocations: 72.08 kB / 1.288 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/0.3695, allocations: 109 kB / 1.288 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3695, allocations: 0 / 1.288 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002573/0.3697, allocations: 133.5 kB / 1.288 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.3698, allocations: 12.09 kB / 1.288 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.3698, allocations: 0 / 1.288 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.3698, allocations: 4 kB / 1.288 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.3699, allocations: 19.92 kB / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.3699, allocations: 3.938 kB / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.37, allocations: 19.94 kB / 1.288 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.37, allocations: 4 kB / 1.288 GB, free: 6.492 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,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001299/0.3701, allocations: 129.7 kB / 1.288 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.173e-05/0.3702, allocations: 7.953 kB / 1.288 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003794/0.3706, allocations: 170.3 kB / 1.288 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3706, allocations: 4 kB / 1.288 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.3706, allocations: 3.938 kB / 1.288 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3706, allocations: 0 / 1.288 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006584/0.3712, allocations: 421.5 kB / 1.289 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3712, allocations: 0 / 1.289 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.554e-05/0.3713, allocations: 23.86 kB / 1.289 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3713, allocations: 0 / 1.289 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.3713, allocations: 4 kB / 1.289 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.676e-06/0.3713, allocations: 4 kB / 1.289 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3713, allocations: 0 / 1.289 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003967/0.3717, allocations: 255.3 kB / 1.289 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.309e-05/0.3718, allocations: 15.88 kB / 1.289 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.3718, allocations: 0 / 1.289 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.3719, allocations: 12 kB / 1.289 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.92e-05/0.372, allocations: 15.97 kB / 1.289 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.372, allocations: 4 kB / 1.289 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.423e-05/0.3721, allocations: 111.2 kB / 1.289 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3721, allocations: 4 kB / 1.289 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003369/0.3724, allocations: 47.88 kB / 1.289 GB, free: 5.199 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.001071/0.3735, allocations: 0.8494 MB / 1.29 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002691/0.3737, allocations: 99.95 kB / 1.29 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3737, allocations: 0 / 1.29 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.3739, allocations: 47.92 kB / 1.29 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.3742, allocations: 23.09 kB / 1.29 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002088/0.3763, allocations: 1.696 MB / 1.292 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.64e-05/0.3764, allocations: 100.2 kB / 1.292 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.994e-05/0.3764, allocations: 8.484 kB / 1.292 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.06e-05/0.3765, allocations: 35.42 kB / 1.292 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.3765, allocations: 0 / 1.292 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03331/0.4098, allocations: 4.154 MB / 1.296 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.02, allocations: 7.281 kB / 1.296 GB, free: 14.22 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_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_Reinhart2003Light.fmu > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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.Reinhart2003Light_res.csv. Warning: Get data of variable lig.occ from file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.csv failed! Error: Could not read variable lig.on in file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.csv. Warning: Get data of variable lig.on from file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.022025040816516]