Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 118.7 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002004/0.002004, allocations: 193.2 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 225.6 MB / 248.5 MB, free: 3.645 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.566/2.566, allocations: 443.5 MB / 0.7293 GB, free: 14.53 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 71.88 kB / 1.057 GB, free: 2.004 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3081, allocations: 160.7 MB / 1.214 GB, free: 0.9766 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002679/0.3107, allocations: 1.451 MB / 1.215 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009375/0.3117, allocations: 0.5072 MB / 1.216 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.153e-05/0.3117, allocations: 4 kB / 1.216 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.003e-05/0.3118, allocations: 3.938 kB / 1.216 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000261/0.312, allocations: 23.84 kB / 1.216 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001105/0.3121, allocations: 31.91 kB / 1.216 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.996e-05/0.3122, allocations: 39.92 kB / 1.216 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.397e-05/0.3123, allocations: 7.938 kB / 1.216 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.926e-05/0.3124, allocations: 27.91 kB / 1.216 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.629e-05/0.3125, allocations: 23.91 kB / 1.216 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.3125, allocations: 8 kB / 1.216 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.38e-05/0.3125, allocations: 4 kB / 1.216 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.051e-05/0.3126, allocations: 15.97 kB / 1.216 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.506e-05/0.3126, allocations: 15.94 kB / 1.216 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.3127, allocations: 47.75 kB / 1.216 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3127, allocations: 0 / 1.216 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3127, allocations: 3.938 kB / 1.216 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.3127, allocations: 0 / 1.216 GB, free: 14.74 MB / 0.9669 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.0006396/0.3134, allocations: 359.4 kB / 1.217 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.3134, allocations: 8.031 kB / 1.217 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.874e-05/0.3134, allocations: 8.891 kB / 1.217 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.3136, allocations: 172.3 kB / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.3136, allocations: 8.359 kB / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.3136, allocations: 4.375 kB / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.3138, allocations: 57.97 kB / 1.217 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.3138, allocations: 0 / 1.217 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.3138, allocations: 4 kB / 1.217 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3138, allocations: 4 kB / 1.217 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.124e-05/0.3139, allocations: 23.98 kB / 1.217 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003964/0.3143, allocations: 276.7 kB / 1.217 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002294/0.3145, allocations: 58.67 kB / 1.217 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.046e-05/0.3146, allocations: 20.84 kB / 1.217 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.3146, allocations: 8 kB / 1.217 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001704/0.3147, allocations: 71.33 kB / 1.217 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.3147, allocations: 0 / 1.217 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0002803/0.315, allocations: 93.66 kB / 1.217 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.69e-05/0.3151, allocations: 51.41 kB / 1.217 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.881e-05/0.3152, allocations: 101.9 kB / 1.218 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.3152, allocations: 29.7 kB / 1.218 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.558e-05/0.3153, allocations: 92.08 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.491e-05/0.3153, allocations: 19.97 kB / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.817e-05/0.3154, allocations: 21.7 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.3155, allocations: 314.8 kB / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.216e-05/0.3155, allocations: 15.98 kB / 1.218 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.493e-05/0.3156, allocations: 19.94 kB / 1.218 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.733e-05/0.3157, allocations: 36.84 kB / 1.218 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3157, allocations: 4 kB / 1.218 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001376/0.3158, allocations: 65.69 kB / 1.218 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.3158, allocations: 8 kB / 1.218 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.3158, allocations: 0 / 1.218 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.3158, allocations: 0 / 1.218 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.694e-05/0.3159, allocations: 11.98 kB / 1.218 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.3159, allocations: 7.938 kB / 1.218 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.69e-05/0.316, allocations: 7.891 kB / 1.218 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.316, allocations: 11.88 kB / 1.218 GB, free: 12.55 MB / 0.9669 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.535e-05/0.3161, allocations: 117.8 kB / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.417e-05/0.3161, allocations: 4 kB / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002234/0.3163, allocations: 105.6 kB / 1.218 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.3163, allocations: 4 kB / 1.218 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3163, allocations: 0 / 1.218 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3163, allocations: 0 / 1.218 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.3165, allocations: 185.5 kB / 1.219 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3165, allocations: 0 / 1.219 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.321e-05/0.3166, allocations: 16 kB / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3166, allocations: 0 / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.759e-06/0.3166, allocations: 0 / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.3166, allocations: 0 / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3166, allocations: 4 kB / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001885/0.3168, allocations: 121 kB / 1.219 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.795e-05/0.3168, allocations: 85.05 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.3168, allocations: 0 / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.82e-05/0.3169, allocations: 8 kB / 1.219 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.317, allocations: 7.984 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.317, allocations: 256 / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.759e-05/0.317, allocations: 95.45 kB / 1.219 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.317, allocations: 0 / 1.219 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001847/0.3172, allocations: 8 kB / 1.219 GB, free: 11.7 MB / 0.9669 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.0001282/0.3173, allocations: 111.2 kB / 1.219 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001482/0.3175, allocations: 43.92 kB / 1.219 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.3175, allocations: 192 / 1.219 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.684e-05/0.3176, allocations: 35.86 kB / 1.219 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001467/0.3177, allocations: 7.938 kB / 1.219 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003664/0.3181, allocations: 179.1 kB / 1.219 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.3184, allocations: 0.6846 MB / 1.22 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.333e-05/0.3184, allocations: 15.42 kB / 1.22 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of SimCode: time 3.2e-07/0.3184, allocations: 0 / 1.22 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of Templates: time 0.002321/0.3207, allocations: 0.8358 MB / 1.221 GB, free: 9.734 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile [Timeout 300] (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.175582594005391]