Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.001281/0.001281, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001382/0.001382, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.518/1.518, allocations: 225.6 MB / 249.4 MB, free: 3.156 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.65/2.65, allocations: 443.5 MB / 0.7304 GB, free: 13.85 MB / 0.5762 GB " [Timeout remaining time 176] 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.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002485/0.002485, allocations: 67.91 kB / 1.059 GB, free: 336 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4264/0.4289, allocations: 160.7 MB / 1.216 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002506/0.4314, allocations: 1.269 MB / 1.217 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001297/0.4327, allocations: 0.7951 MB / 1.218 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.805e-05/0.4327, allocations: 0 / 1.218 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.024e-05/0.4327, allocations: 3.938 kB / 1.218 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002359/0.433, allocations: 15.97 kB / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00019/0.4332, allocations: 47.88 kB / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.053e-05/0.4332, allocations: 27.86 kB / 1.218 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.265e-05/0.4333, allocations: 4 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.539e-05/0.4334, allocations: 19.91 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.4335, allocations: 4 kB / 1.218 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.4335, allocations: 0 / 1.218 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 5.588e-05/0.4336, allocations: 11.97 kB / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.235e-05/0.4336, allocations: 11.94 kB / 1.218 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.663e-05/0.4337, allocations: 4 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001083/0.4338, allocations: 23.84 kB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.4338, allocations: 4 kB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.146e-06/0.4338, allocations: 4 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.4338, allocations: 3.938 kB / 1.218 GB, free: 13.04 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004253/0.4342, allocations: 327.5 kB / 1.219 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.4342, allocations: 8.031 kB / 1.219 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.631e-05/0.4343, allocations: 80.2 kB / 1.219 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.4345, allocations: 247.6 kB / 1.219 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.908e-05/0.4346, allocations: 150.9 kB / 1.219 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.068e-05/0.4347, allocations: 154.9 kB / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.626e-05/0.4348, allocations: 105.5 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.778e-05/0.4348, allocations: 79.47 kB / 1.219 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.503e-05/0.4349, allocations: 154.5 kB / 1.22 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.495e-05/0.4349, allocations: 154.5 kB / 1.22 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.618e-05/0.435, allocations: 158.5 kB / 1.22 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003745/0.4354, allocations: 449.9 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.928e-05/0.4355, allocations: 165.1 kB / 1.22 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.897e-05/0.4355, allocations: 80.14 kB / 1.221 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.106e-05/0.4356, allocations: 79.28 kB / 1.221 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.095e-05/0.4356, allocations: 117.8 kB / 1.221 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.4356, allocations: 0 / 1.221 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 8.757e-05/0.4357, allocations: 33.62 kB / 1.221 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.312e-05/0.4358, allocations: 126.7 kB / 1.221 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.4359, allocations: 105.8 kB / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.4359, allocations: 29.64 kB / 1.221 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.267e-05/0.436, allocations: 88.14 kB / 1.221 GB, free: 9.992 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-06/0.436, allocations: 0 / 1.221 GB, free: 9.992 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-05/0.436, allocations: 17.7 kB / 1.221 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.4362, allocations: 318.8 kB / 1.221 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.05e-05/0.4362, allocations: 4 kB / 1.221 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.391e-05/0.4362, allocations: 4 kB / 1.221 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.266e-05/0.4363, allocations: 24.78 kB / 1.221 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4363, allocations: 4.031 kB / 1.221 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001216/0.4364, allocations: 45.66 kB / 1.221 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.4364, allocations: 5.875 kB / 1.221 GB, free: 9.555 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.4364, allocations: 3.938 kB / 1.221 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.4364, allocations: 4 kB / 1.221 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.4364, allocations: 0 / 1.221 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.4365, allocations: 3.984 kB / 1.222 GB, free: 9.543 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.469e-05/0.4365, allocations: 0 / 1.222 GB, free: 9.543 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.246e-05/0.4366, allocations: 4 kB / 1.222 GB, free: 9.539 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0001454/0.4367, allocations: 185.2 kB / 1.222 GB, free: 9.348 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.785e-05/0.4368, allocations: 109.2 kB / 1.222 GB, free: 9.234 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.516e-05/0.4368, allocations: 116.4 kB / 1.222 GB, free: 9.109 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.601e-05/0.4369, allocations: 176.3 kB / 1.222 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.367e-05/0.437, allocations: 184.3 kB / 1.222 GB, free: 8.742 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.455e-05/0.4371, allocations: 184.3 kB / 1.222 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003053/0.4374, allocations: 413.2 kB / 1.223 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.956e-05/0.4375, allocations: 105 kB / 1.223 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.654e-05/0.4375, allocations: 101 kB / 1.223 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.867e-05/0.4376, allocations: 184.2 kB / 1.223 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.878e-05/0.4377, allocations: 180.2 kB / 1.223 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.938e-05/0.4378, allocations: 188.2 kB / 1.224 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.151e-05/0.4379, allocations: 180.3 kB / 1.224 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.438, allocations: 303.8 kB / 1.224 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.4381, allocations: 182 kB / 1.224 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/0.4383, allocations: 192.1 kB / 1.224 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.545e-05/0.4384, allocations: 105 kB / 1.224 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.4385, allocations: 184.2 kB / 1.225 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.625e-05/0.4385, allocations: 101 kB / 1.225 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.368e-05/0.4386, allocations: 91.22 kB / 1.225 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.4386, allocations: 0 / 1.225 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002589/0.4388, allocations: 4 kB / 1.225 GB, free: 5.918 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0004178/0.4393, allocations: 192.7 kB / 1.225 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.93e-05/0.4393, allocations: 7.984 kB / 1.225 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4393, allocations: 0 / 1.225 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.877e-06/0.4393, allocations: 3.938 kB / 1.225 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004292/0.4398, allocations: 459.8 kB / 1.225 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003352/0.4401, allocations: 188.7 kB / 1.226 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/0.4405, allocations: 0.6729 MB / 1.226 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.412e-05/0.4405, allocations: 3.938 kB / 1.226 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.969e-05/0.4405, allocations: 7.438 kB / 1.226 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of SimCode: time 5.11e-07/0.4405, allocations: 0 / 1.226 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of Templates: time 0.003195/0.4437, allocations: 444.4 kB / 1.227 GB, free: 3.914 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile [Timeout 300] (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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: 8.620560543611646]