Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.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.002189/0.002189, allocations: 110 kB / 18.93 MB, free: 2.945 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.002531/0.002531, allocations: 192.5 kB / 22.23 MB, free: 5.16 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.529/1.529, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.203/3.203, allocations: 496 MB / 0.7835 GB, free: 33.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_NonzeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 68.48 kB / 1.138 GB, free: 33.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3917/0.3937, allocations: 173.6 MB / 1.307 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.003158/0.3968, allocations: 1.285 MB / 1.309 GB, free: 468 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001449/0.3983, allocations: 0.8257 MB / 1.309 GB, free: 15.63 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.637e-05/0.3983, allocations: 8 kB / 1.309 GB, free: 15.62 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.143e-05/0.3984, allocations: 3.938 kB / 1.309 GB, free: 15.62 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002433/0.3986, allocations: 7.922 kB / 1.309 GB, free: 15.61 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002169/0.3988, allocations: 47.31 kB / 1.309 GB, free: 15.57 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.975e-05/0.3989, allocations: 23.91 kB / 1.309 GB, free: 15.54 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.759e-05/0.399, allocations: 4 kB / 1.309 GB, free: 15.54 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.121e-05/0.399, allocations: 11.98 kB / 1.309 GB, free: 15.53 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.3992, allocations: 7.938 kB / 1.309 GB, free: 15.52 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.3992, allocations: 0 / 1.309 GB, free: 15.52 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 6e-05/0.3993, allocations: 19.92 kB / 1.309 GB, free: 15.5 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.09e-05/0.3993, allocations: 3.984 kB / 1.31 GB, free: 15.5 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.669e-05/0.3994, allocations: 15.94 kB / 1.31 GB, free: 15.48 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.3995, allocations: 23.91 kB / 1.31 GB, free: 15.46 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3995, allocations: 0 / 1.31 GB, free: 15.46 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3995, allocations: 0 / 1.31 GB, free: 15.46 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.3995, allocations: 0 / 1.31 GB, free: 15.46 MB / 1.014 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.0003543/0.3999, allocations: 246.4 kB / 1.31 GB, free: 15.18 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.3999, allocations: 12.92 kB / 1.31 GB, free: 15.17 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.597e-05/0.4, allocations: 84.17 kB / 1.31 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.4001, allocations: 189.8 kB / 1.31 GB, free: 14.88 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.912e-05/0.4002, allocations: 150.9 kB / 1.31 GB, free: 14.73 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.85e-05/0.4003, allocations: 154.9 kB / 1.31 GB, free: 14.58 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.795e-05/0.4004, allocations: 105.5 kB / 1.31 GB, free: 14.47 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.435e-05/0.4004, allocations: 79.41 kB / 1.311 GB, free: 14.39 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.197e-05/0.4005, allocations: 166.4 kB / 1.311 GB, free: 14.23 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.141e-05/0.4005, allocations: 154.6 kB / 1.311 GB, free: 14.07 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.238e-05/0.4006, allocations: 150.6 kB / 1.311 GB, free: 13.93 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003431/0.401, allocations: 421 kB / 1.311 GB, free: 13.47 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.4011, allocations: 173.1 kB / 1.312 GB, free: 13.29 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.448e-05/0.4011, allocations: 84.08 kB / 1.312 GB, free: 13.21 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.783e-05/0.4011, allocations: 75.28 kB / 1.312 GB, free: 13.13 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.498e-05/0.4012, allocations: 109.8 kB / 1.312 GB, free: 13.02 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.4012, allocations: 4 kB / 1.312 GB, free: 13.01 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 8.806e-05/0.4013, allocations: 29.64 kB / 1.312 GB, free: 12.98 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.268e-05/0.4014, allocations: 130.7 kB / 1.312 GB, free: 12.84 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.4015, allocations: 105.8 kB / 1.312 GB, free: 12.72 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.4015, allocations: 25.7 kB / 1.312 GB, free: 12.69 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.49e-05/0.4016, allocations: 88.08 kB / 1.312 GB, free: 12.6 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-06/0.4016, allocations: 4 kB / 1.312 GB, free: 12.6 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.203e-05/0.4016, allocations: 21.7 kB / 1.312 GB, free: 12.57 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.4018, allocations: 310.8 kB / 1.312 GB, free: 12.26 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.369e-05/0.4018, allocations: 11.88 kB / 1.312 GB, free: 12.25 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.971e-05/0.4018, allocations: 11.98 kB / 1.313 GB, free: 12.23 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.412e-05/0.4019, allocations: 16.86 kB / 1.313 GB, free: 12.21 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4019, allocations: 0 / 1.313 GB, free: 12.21 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001288/0.402, allocations: 41.69 kB / 1.313 GB, free: 12.17 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.402, allocations: 4 kB / 1.313 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.402, allocations: 3.938 kB / 1.313 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.402, allocations: 4 kB / 1.313 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.292e-06/0.402, allocations: 0 / 1.313 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.4021, allocations: 4.125 kB / 1.313 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001828/0.4022, allocations: 0 / 1.313 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.4023, allocations: 7.984 kB / 1.313 GB, free: 12.14 MB / 1.014 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.000131/0.4024, allocations: 185.1 kB / 1.313 GB, free: 11.95 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.94e-05/0.4025, allocations: 101 kB / 1.313 GB, free: 11.85 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.932e-05/0.4025, allocations: 116.4 kB / 1.313 GB, free: 11.72 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.613e-05/0.4026, allocations: 184.2 kB / 1.313 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.19e-05/0.4027, allocations: 180.3 kB / 1.313 GB, free: 11.35 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.343e-05/0.4028, allocations: 184.2 kB / 1.313 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002624/0.403, allocations: 372.3 kB / 1.314 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.465e-05/0.4031, allocations: 108.9 kB / 1.314 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.992e-05/0.4031, allocations: 105.1 kB / 1.314 GB, free: 10.53 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.817e-05/0.4032, allocations: 184.3 kB / 1.314 GB, free: 10.34 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.751e-05/0.4033, allocations: 188.2 kB / 1.314 GB, free: 10.15 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.144e-05/0.4034, allocations: 188.5 kB / 1.315 GB, free: 9.957 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.566e-05/0.4035, allocations: 176.3 kB / 1.315 GB, free: 9.777 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001671/0.4036, allocations: 303.8 kB / 1.315 GB, free: 9.457 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.526e-05/0.4037, allocations: 120.9 kB / 1.315 GB, free: 9.332 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.384e-05/0.4038, allocations: 184.2 kB / 1.315 GB, free: 9.145 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.905e-05/0.4039, allocations: 101 kB / 1.315 GB, free: 9.039 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.828e-05/0.404, allocations: 180.2 kB / 1.316 GB, free: 8.855 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.891e-05/0.404, allocations: 105 kB / 1.316 GB, free: 8.746 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.832e-05/0.4041, allocations: 91.27 kB / 1.316 GB, free: 8.656 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/0.4041, allocations: 0 / 1.316 GB, free: 8.656 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002558/0.4043, allocations: 4 kB / 1.316 GB, free: 8.652 MB / 1.014 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.0002896/0.4046, allocations: 183.3 kB / 1.316 GB, free: 8.465 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 7.977e-05/0.4047, allocations: 7.938 kB / 1.316 GB, free: 8.457 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4047, allocations: 0 / 1.316 GB, free: 8.457 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/0.4047, allocations: 4.062 kB / 1.316 GB, free: 8.453 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.4051, allocations: 455.7 kB / 1.316 GB, free: 8.004 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003066/0.4054, allocations: 172.7 kB / 1.317 GB, free: 7.809 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.4057, allocations: 0.6806 MB / 1.317 GB, free: 7.102 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.127e-05/0.4057, allocations: 4 kB / 1.317 GB, free: 7.098 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.497e-05/0.4058, allocations: 11.44 kB / 1.317 GB, free: 7.086 MB / 1.014 GB Notification: Performance of SimCode: time 1.052e-06/0.4058, allocations: 0 / 1.317 GB, free: 7.086 MB / 1.014 GB Notification: Performance of Templates: time 0.003183/0.409, allocations: 439.6 kB / 1.318 GB, free: 6.695 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.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.126577604562044]