Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001376/0.001376, 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.001699/0.001699, allocations: 211.7 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.508/1.508, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.254/3.254, allocations: 0.4892 GB / 0.7943 GB, free: 35.71 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eqnTim.nDay|eqnTim.eqnTim",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eqnTim.nDay|eqnTim.eqnTim",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") [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.002134/0.002134, allocations: 71.42 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3883/0.3904, allocations: 176.1 MB / 1.326 GB, free: 1.801 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002914/0.3933, allocations: 1.454 MB / 1.327 GB, free: 348 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.3945, allocations: 0.522 MB / 1.327 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.271e-05/0.3945, allocations: 0 / 1.327 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.901e-05/0.3946, allocations: 0 / 1.327 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002344/0.3948, allocations: 23.84 kB / 1.327 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001822/0.395, allocations: 31.91 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.3951, allocations: 51.84 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.831e-05/0.3952, allocations: 15.92 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.3953, allocations: 27.86 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.819e-05/0.3954, allocations: 23.91 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.3954, allocations: 4 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.187e-05/0.3955, allocations: 23.98 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.994e-05/0.3955, allocations: 4 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.328e-05/0.3956, allocations: 15.92 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.3957, allocations: 51.8 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.3957, allocations: 0 / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.204e-06/0.3957, allocations: 0 / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.3957, allocations: 4 kB / 1.328 GB, free: 15.54 MB / 1.029 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.0006381/0.3963, allocations: 292 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.3964, allocations: 8.031 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001791/0.3966, allocations: 12.89 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.3967, allocations: 118.5 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.3967, allocations: 4.375 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.3967, allocations: 4.375 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.3968, allocations: 61.92 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.3969, allocations: 4 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.3969, allocations: 0 / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.3969, allocations: 0 / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.809e-05/0.3969, allocations: 27.97 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003513/0.3973, allocations: 216.5 kB / 1.328 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002403/0.3975, allocations: 70.55 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.728e-05/0.3976, allocations: 20.86 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.3976, allocations: 0 / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001915/0.3978, allocations: 71.38 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.3978, allocations: 4 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0002691/0.3981, allocations: 93.56 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.3981, allocations: 55.41 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.116e-05/0.3982, allocations: 101.8 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.3982, allocations: 25.7 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.012e-05/0.3983, allocations: 84.14 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.3983, allocations: 19.84 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.301e-05/0.3983, allocations: 21.72 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.3985, allocations: 314.8 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.051e-05/0.3985, allocations: 15.98 kB / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.604e-05/0.3986, allocations: 19.98 kB / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.023e-05/0.3986, allocations: 36.88 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3986, allocations: 0 / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001437/0.3988, allocations: 81.59 kB / 1.329 GB, free: 13.62 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.3988, allocations: 4 kB / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3988, allocations: 0 / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.3988, allocations: 0 / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.677e-05/0.3989, allocations: 8 kB / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.3989, allocations: 0 / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.208e-05/0.399, allocations: 11.98 kB / 1.329 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.399, allocations: 11.88 kB / 1.329 GB, free: 13.58 MB / 1.029 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 9.973e-05/0.3991, allocations: 114.3 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.941e-05/0.3991, allocations: 7.953 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000238/0.3993, allocations: 109.6 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3993, allocations: 0 / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.3993, allocations: 0 / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.3993, allocations: 0 / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.3995, allocations: 121.2 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3995, allocations: 0 / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.01e-05/0.3996, allocations: 15.92 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.3996, allocations: 8 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.3996, allocations: 4.25 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.3996, allocations: 4 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3996, allocations: 0 / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.3998, allocations: 124.9 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.2e-05/0.3998, allocations: 192 / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.3998, allocations: 4 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.089e-05/0.3999, allocations: 7.969 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/0.4, allocations: 11.98 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.4, allocations: 4 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.667e-05/0.4, allocations: 83.28 kB / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4, allocations: 4 kB / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002021/0.4002, allocations: 8 kB / 1.33 GB, free: 12.89 MB / 1.029 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.0001335/0.4004, allocations: 105.1 kB / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001658/0.4005, allocations: 43.92 kB / 1.33 GB, free: 12.74 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.4005, allocations: 4.188 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.326e-05/0.4006, allocations: 39.84 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001685/0.4008, allocations: 7.938 kB / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004007/0.4012, allocations: 139.9 kB / 1.33 GB, free: 12.53 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.003e-05/0.4012, allocations: 71.34 kB / 1.33 GB, free: 12.44 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.387e-05/0.4013, allocations: 7.984 kB / 1.33 GB, free: 12.43 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.069e-05/0.4013, allocations: 11.44 kB / 1.33 GB, free: 12.42 MB / 1.029 GB Notification: Performance of SimCode: time 4.2e-07/0.4013, allocations: 0 / 1.33 GB, free: 12.42 MB / 1.029 GB Notification: Performance of Templates: time 0.003382/0.4047, allocations: 0.7172 MB / 1.331 GB, free: 11.71 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.275560142472386]