Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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.001931/0.001931, 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.001995/0.001995, allocations: 212.3 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.624/1.624, allocations: 230.6 MB / 256 MB, free: 7.785 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 3.11/3.11, allocations: 476 MB / 0.7699 GB, free: 4.707 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.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",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.002174/0.002174, allocations: 69.61 kB / 1.117 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3766, allocations: 170 MB / 1.283 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.004802/0.3814, allocations: 1.461 MB / 1.284 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002022/0.3835, allocations: 0.5277 MB / 1.285 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.728e-05/0.3835, allocations: 4 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.935e-05/0.3836, allocations: 3.938 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003455/0.3839, allocations: 23.84 kB / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.3842, allocations: 27.92 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.3844, allocations: 55.83 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.3845, allocations: 8 kB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002416/0.3847, allocations: 27.86 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.3849, allocations: 31.83 kB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.623e-05/0.3849, allocations: 4 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.123e-05/0.385, allocations: 8 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.523e-05/0.385, allocations: 15.98 kB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.913e-05/0.3851, allocations: 11.94 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.3853, allocations: 49.69 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.3853, allocations: 0 / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.245e-06/0.3853, allocations: 4 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.3853, allocations: 0 / 1.285 GB, free: 10.13 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008897/0.3862, allocations: 289.8 kB / 1.285 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.568e-05/0.3863, allocations: 8.031 kB / 1.285 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.99e-05/0.3863, allocations: 34.69 kB / 1.285 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002994/0.3866, allocations: 12.92 kB / 1.285 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.3868, allocations: 114.5 kB / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.3868, allocations: 384 / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.604e-05/0.3869, allocations: 8.375 kB / 1.285 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.3871, allocations: 65.72 kB / 1.285 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.3871, allocations: 0 / 1.285 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.3871, allocations: 0 / 1.285 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.3871, allocations: 0 / 1.285 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.3872, allocations: 23.98 kB / 1.285 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005965/0.3878, allocations: 247.9 kB / 1.286 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003414/0.3882, allocations: 62.62 kB / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.242e-05/0.3882, allocations: 20.84 kB / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.3883, allocations: 4 kB / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003052/0.3886, allocations: 71.38 kB / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 2.314e-06/0.3886, allocations: 0 / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0004269/0.389, allocations: 97.56 kB / 1.286 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.606e-05/0.3891, allocations: 51.41 kB / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.3892, allocations: 105.8 kB / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.3892, allocations: 29.7 kB / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.669e-05/0.3893, allocations: 80.14 kB / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.969e-05/0.3893, allocations: 15.91 kB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.407e-05/0.3894, allocations: 21.7 kB / 1.286 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002317/0.3897, allocations: 322.8 kB / 1.286 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.86e-05/0.3897, allocations: 11.98 kB / 1.286 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.606e-05/0.3898, allocations: 16 kB / 1.286 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.3899, allocations: 40.84 kB / 1.286 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.3899, allocations: 0 / 1.286 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002019/0.3901, allocations: 81.58 kB / 1.287 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.3902, allocations: 4 kB / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.3902, allocations: 3.984 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.3902, allocations: 4 kB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.3903, allocations: 8.188 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.3903, allocations: 0 / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.3904, allocations: 11.98 kB / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.3905, allocations: 0 / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (eqnTim.tNext,$PRE.eqnTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001477/0.3906, allocations: 121.7 kB / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.3906, allocations: 7.938 kB / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003799/0.391, allocations: 109.6 kB / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.391, allocations: 0 / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.391, allocations: 4 kB / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.391, allocations: 0 / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002277/0.3913, allocations: 148.7 kB / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3913, allocations: 4 kB / 1.287 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.3914, allocations: 11.94 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.3914, allocations: 4 kB / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.3914, allocations: 0 / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.3914, allocations: 256 / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3914, allocations: 0 / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002917/0.3917, allocations: 132.9 kB / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.49e-05/0.3917, allocations: 3.984 kB / 1.287 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.907e-05/0.3917, allocations: 4 kB / 1.287 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.337e-05/0.3918, allocations: 0 / 1.287 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.54e-05/0.3919, allocations: 11.98 kB / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.3919, allocations: 8 kB / 1.287 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.325e-05/0.392, allocations: 83.27 kB / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.392, allocations: 192 / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003695/0.3923, allocations: 12 kB / 1.287 GB, free: 7.371 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: 2 ($whenCondition1,eqnTim.tNext) * Number of discrete states: 1 (eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0008116/0.3932, allocations: 0.663 MB / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002479/0.3934, allocations: 43.92 kB / 1.288 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3934, allocations: 0 / 1.288 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.3935, allocations: 31.92 kB / 1.288 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.3938, allocations: 4 kB / 1.288 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002076/0.3959, allocations: 1.235 MB / 1.289 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.396, allocations: 67.34 kB / 1.289 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.257e-05/0.3961, allocations: 7.984 kB / 1.289 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.378e-05/0.3961, allocations: 11.44 kB / 1.289 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of SimCode: time 7.02e-07/0.3961, allocations: 4 kB / 1.289 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04056/0.4367, allocations: 2.172 MB / 1.291 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.78, allocations: 1.891 kB / 1.291 GB, free: 3.156 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.167669888120145]