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.001883/0.001883, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002409/0.002409, allocations: 219.1 kB / 23.03 MB, free: 4.922 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.536/1.536, allocations: 230.6 MB / 256.8 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 2.862/2.862, allocations: 476.8 MB / 0.7715 GB, free: 3.816 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="cs",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.00207/0.00207, allocations: 63.77 kB / 1.118 GB, free: 39.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3582, allocations: 170 MB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.003333/0.3615, allocations: 1.461 MB / 1.286 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001171/0.3627, allocations: 0.5238 MB / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.251e-05/0.3627, allocations: 8 kB / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.721e-05/0.3628, allocations: 3.938 kB / 1.286 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002369/0.363, allocations: 15.91 kB / 1.286 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001937/0.3632, allocations: 31.91 kB / 1.286 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.3633, allocations: 51.84 kB / 1.286 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.623e-05/0.3634, allocations: 4 kB / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.3636, allocations: 27.86 kB / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.192e-05/0.3636, allocations: 31.89 kB / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.3637, allocations: 8 kB / 1.286 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.464e-05/0.3637, allocations: 8 kB / 1.286 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.645e-05/0.3637, allocations: 15.98 kB / 1.286 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.987e-05/0.3638, allocations: 15.92 kB / 1.286 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.364, allocations: 45.42 kB / 1.286 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.364, allocations: 0 / 1.286 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.352e-06/0.364, allocations: 0 / 1.286 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.364, allocations: 0 / 1.286 GB, free: 8.289 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.0006246/0.3646, allocations: 293.8 kB / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.3646, allocations: 8.031 kB / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.451e-05/0.3647, allocations: 192 / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.181e-05/0.3647, allocations: 46.61 kB / 1.287 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.3649, allocations: 4.938 kB / 1.287 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.365, allocations: 122.5 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.365, allocations: 8.375 kB / 1.287 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.365, allocations: 384 / 1.287 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.3652, allocations: 57.61 kB / 1.287 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.3652, allocations: 0 / 1.287 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.3652, allocations: 4 kB / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.3652, allocations: 4 kB / 1.287 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.247e-05/0.3653, allocations: 23.98 kB / 1.287 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004393/0.3657, allocations: 243.8 kB / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002369/0.366, allocations: 62.61 kB / 1.287 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.415e-05/0.366, allocations: 16.86 kB / 1.287 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.366, allocations: 4 kB / 1.287 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002214/0.3662, allocations: 71.31 kB / 1.287 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.3662, allocations: 0 / 1.287 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0002708/0.3665, allocations: 97.62 kB / 1.287 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.3666, allocations: 51.41 kB / 1.287 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.3667, allocations: 105.8 kB / 1.287 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.3667, allocations: 29.7 kB / 1.287 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.101e-05/0.3668, allocations: 84.14 kB / 1.288 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.897e-05/0.3668, allocations: 15.89 kB / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.447e-05/0.3669, allocations: 21.72 kB / 1.288 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.367, allocations: 318.8 kB / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.478e-05/0.3671, allocations: 20 kB / 1.288 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.847e-05/0.3671, allocations: 19.98 kB / 1.288 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.946e-05/0.3672, allocations: 37 kB / 1.288 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3672, allocations: 4 kB / 1.288 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001352/0.3673, allocations: 73.62 kB / 1.288 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.3673, allocations: 8 kB / 1.288 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3673, allocations: 0 / 1.288 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.3673, allocations: 0 / 1.288 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.076e-05/0.3674, allocations: 11.94 kB / 1.288 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3674, allocations: 0 / 1.288 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.711e-05/0.3675, allocations: 11.98 kB / 1.288 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.3675, allocations: 192 / 1.288 GB, free: 6.254 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.0001008/0.3676, allocations: 121.7 kB / 1.288 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.038e-05/0.3676, allocations: 15.94 kB / 1.288 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002456/0.3679, allocations: 109.6 kB / 1.288 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3679, allocations: 0 / 1.288 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.237e-06/0.3679, allocations: 0 / 1.288 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3679, allocations: 0 / 1.288 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.3681, allocations: 148.9 kB / 1.288 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.3681, allocations: 4 kB / 1.288 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.366e-05/0.3681, allocations: 12 kB / 1.288 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.644e-06/0.3681, allocations: 0 / 1.288 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.3681, allocations: 4.094 kB / 1.288 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3681, allocations: 7.938 kB / 1.289 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3681, allocations: 0 / 1.289 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002069/0.3684, allocations: 128.9 kB / 1.289 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.474e-05/0.3684, allocations: 4 kB / 1.289 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.3684, allocations: 0 / 1.289 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.974e-05/0.3685, allocations: 4 kB / 1.289 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.3685, allocations: 7.984 kB / 1.289 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.3685, allocations: 4 kB / 1.289 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.353e-05/0.3686, allocations: 87.27 kB / 1.289 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3686, allocations: 3.938 kB / 1.289 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001953/0.3688, allocations: 15.94 kB / 1.289 GB, free: 5.508 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.0005174/0.3693, allocations: 0.6553 MB / 1.289 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001548/0.3694, allocations: 47.97 kB / 1.289 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3694, allocations: 0 / 1.289 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.031e-05/0.3695, allocations: 23.94 kB / 1.289 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.3697, allocations: 7.984 kB / 1.289 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.371, allocations: 1.231 MB / 1.291 GB, free: 3.434 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.461e-05/0.3711, allocations: 63.34 kB / 1.291 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.261e-05/0.3711, allocations: 11.98 kB / 1.291 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.978e-05/0.3712, allocations: 15.44 kB / 1.291 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.3712, allocations: 0 / 1.291 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02201/0.3932, allocations: 1.844 MB / 1.293 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.05, allocations: 14.19 kB / 1.293 GB, free: 1.637 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: 18.93803661793936]