Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.00183/0.00183, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002412/0.002412, allocations: 211.2 kB / 22.24 MB, free: 5.262 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.556/1.556, allocations: 230.6 MB / 256 MB, free: 7.789 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.832/2.832, allocations: 476 MB / 0.7699 GB, free: 4.738 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.Hunt1979Light,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",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.002112/0.002112, allocations: 67.14 kB / 1.117 GB, free: 41.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3763, allocations: 170 MB / 1.283 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002895/0.3792, allocations: 1.529 MB / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001648/0.3808, allocations: 0.8081 MB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.399e-05/0.3809, allocations: 0 / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.629e-05/0.3809, allocations: 7.875 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.337e-05/0.381, allocations: 11.86 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006269/0.3816, allocations: 155.5 kB / 1.285 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.3818, allocations: 91.64 kB / 1.285 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.256e-05/0.3819, allocations: 11.94 kB / 1.285 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.3821, allocations: 51.89 kB / 1.285 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.923e-05/0.3821, allocations: 35.78 kB / 1.285 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.3822, allocations: 8 kB / 1.285 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002892/0.3824, allocations: 147.7 kB / 1.285 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.845e-05/0.3825, allocations: 15.98 kB / 1.285 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.775e-05/0.3825, allocations: 27.86 kB / 1.285 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002939/0.3828, allocations: 177.1 kB / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.3828, allocations: 4 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3828, allocations: 0 / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.3828, allocations: 0 / 1.286 GB, free: 9.371 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.0008991/0.3837, allocations: 409.1 kB / 1.286 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.3838, allocations: 8.031 kB / 1.286 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.939e-05/0.3838, allocations: 34.73 kB / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002425/0.3841, allocations: 24.88 kB / 1.286 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002809/0.3843, allocations: 142.4 kB / 1.286 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/0.3845, allocations: 81.67 kB / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/0.3845, allocations: 8.375 kB / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002197/0.3847, allocations: 85.52 kB / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3847, allocations: 0 / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.3847, allocations: 4 kB / 1.286 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.3847, allocations: 0 / 1.286 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001917/0.3849, allocations: 47.94 kB / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005552/0.3855, allocations: 283.8 kB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002301/0.3857, allocations: 66.55 kB / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.3858, allocations: 44.83 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.3859, allocations: 0 / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002432/0.3861, allocations: 107.3 kB / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.283e-06/0.3861, allocations: 0 / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0005187/0.3866, allocations: 173.5 kB / 1.287 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.3867, allocations: 51.41 kB / 1.287 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.3868, allocations: 143.4 kB / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.3868, allocations: 29.7 kB / 1.287 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.12e-05/0.3869, allocations: 96.36 kB / 1.287 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.3869, allocations: 23.81 kB / 1.287 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.739e-05/0.387, allocations: 33.7 kB / 1.287 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.3872, allocations: 322.8 kB / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.3873, allocations: 31.97 kB / 1.288 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.3874, allocations: 75.12 kB / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002373/0.3876, allocations: 105 kB / 1.288 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3876, allocations: 0 / 1.288 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003092/0.388, allocations: 137.5 kB / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.388, allocations: 10.8 kB / 1.288 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.388, allocations: 0 / 1.288 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.388, allocations: 4 kB / 1.288 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.3881, allocations: 19.98 kB / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.3881, allocations: 3.938 kB / 1.288 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.3882, allocations: 15.92 kB / 1.288 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.3883, allocations: 7.938 kB / 1.288 GB, free: 6.535 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.0001225/0.3884, allocations: 129.8 kB / 1.288 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.195e-05/0.3884, allocations: 11.91 kB / 1.288 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.079e-05/0.3884, allocations: 16.7 kB / 1.288 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3884, allocations: 0 / 1.288 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.3884, allocations: 0 / 1.288 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3884, allocations: 0 / 1.288 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006667/0.3891, allocations: 389.9 kB / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3891, allocations: 0 / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.709e-05/0.3892, allocations: 15.98 kB / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3892, allocations: 0 / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.3892, allocations: 7.922 kB / 1.289 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.3892, allocations: 7.938 kB / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3892, allocations: 0 / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003702/0.3896, allocations: 219.5 kB / 1.289 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.233e-05/0.3896, allocations: 19.89 kB / 1.289 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.222e-05/0.3896, allocations: 7.922 kB / 1.289 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.3898, allocations: 19.92 kB / 1.289 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.384e-05/0.3898, allocations: 11.98 kB / 1.289 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.3899, allocations: 4 kB / 1.289 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.663e-05/0.3899, allocations: 103.2 kB / 1.289 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3899, allocations: 0 / 1.289 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003324/0.3903, allocations: 43.88 kB / 1.289 GB, free: 5.469 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 (10): * Single equations (assignments): 7 * 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.001033/0.3913, allocations: 0.8265 MB / 1.29 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003387/0.3916, allocations: 83.83 kB / 1.29 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3916, allocations: 4 kB / 1.29 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.3918, allocations: 47.84 kB / 1.29 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.3921, allocations: 20.22 kB / 1.29 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/0.3943, allocations: 1.634 MB / 1.292 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.232e-05/0.3944, allocations: 83.75 kB / 1.292 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.29e-05/0.3945, allocations: 8.438 kB / 1.292 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.914e-05/0.3945, allocations: 27.42 kB / 1.292 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of SimCode: time 8.91e-07/0.3945, allocations: 0 / 1.292 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03145/0.426, allocations: 3.785 MB / 1.295 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.12, allocations: 5.266 kB / 1.295 GB, free: 14.98 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_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_Hunt1979Light.fmu > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.Hunt1979Light_res.csv. Warning: Get data of variable lig.occ from file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.csv failed! Error: Could not read variable lig.on in file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.csv. Warning: Get data of variable lig.on from file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.120397026650608]