Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.0008455/0.0008455, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008135/0.0008135, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8868/0.8868, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.744/1.744, allocations: 377.9 MB / 0.6229 GB, free: 8.633 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_12_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_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 0.9822 GB, free: 2.066 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.025e-05/4.251e-05, allocations: 10.22 kB / 0.9822 GB, free: 2.055 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.003255/0.003297, allocations: 1.278 MB / 0.9835 GB, free: 0.7695 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001443/0.00474, allocations: 0.8297 MB / 0.9843 GB, free: 15.94 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.15e-05/0.004782, allocations: 0 / 0.9843 GB, free: 15.94 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 5.282e-05/0.004835, allocations: 4 kB / 0.9843 GB, free: 15.93 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003645/0.005199, allocations: 15.86 kB / 0.9843 GB, free: 15.92 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002446/0.005444, allocations: 49.92 kB / 0.9843 GB, free: 15.87 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.005555, allocations: 19.92 kB / 0.9844 GB, free: 15.85 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 5.589e-05/0.005611, allocations: 0 / 0.9844 GB, free: 15.85 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.005715, allocations: 23.91 kB / 0.9844 GB, free: 15.83 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.005815, allocations: 4 kB / 0.9844 GB, free: 15.82 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.005836, allocations: 0 / 0.9844 GB, free: 15.82 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.53e-05/0.005892, allocations: 7.938 kB / 0.9844 GB, free: 15.82 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 6.76e-05/0.005959, allocations: 23.84 kB / 0.9844 GB, free: 15.79 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 3.287e-05/0.005992, allocations: 7.938 kB / 0.9844 GB, free: 15.79 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.006135, allocations: 23.97 kB / 0.9844 GB, free: 15.76 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.00614, allocations: 0 / 0.9844 GB, free: 15.76 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.653e-06/0.006141, allocations: 0 / 0.9844 GB, free: 15.76 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.006148, allocations: 0 / 0.9844 GB, free: 15.76 MB / 0.948 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.0003895/0.006537, allocations: 250.3 kB / 0.9847 GB, free: 15.48 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.00659, allocations: 12.03 kB / 0.9847 GB, free: 15.47 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.062e-05/0.006671, allocations: 84.17 kB / 0.9848 GB, free: 15.39 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.006806, allocations: 185.1 kB / 0.9849 GB, free: 15.18 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.561e-05/0.006862, allocations: 154.9 kB / 0.9851 GB, free: 15.03 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.057e-05/0.006923, allocations: 150.9 kB / 0.9852 GB, free: 14.88 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.563e-05/0.007008, allocations: 109.5 kB / 0.9853 GB, free: 14.77 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.121e-05/0.00704, allocations: 75.47 kB / 0.9854 GB, free: 14.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.482e-05/0.007094, allocations: 150.9 kB / 0.9856 GB, free: 14.55 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-05/0.007153, allocations: 158.9 kB / 0.9857 GB, free: 14.39 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.252e-05/0.007215, allocations: 158.5 kB / 0.9859 GB, free: 14.23 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003097/0.007525, allocations: 401.6 kB / 0.9862 GB, free: 13.81 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.007626, allocations: 169.1 kB / 0.9864 GB, free: 13.64 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.799e-05/0.007664, allocations: 80.14 kB / 0.9865 GB, free: 13.55 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.366e-05/0.007697, allocations: 75.28 kB / 0.9866 GB, free: 13.48 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.19e-05/0.007749, allocations: 121.7 kB / 0.9867 GB, free: 13.35 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.00775, allocations: 0 / 0.9867 GB, free: 13.35 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 9.848e-05/0.007849, allocations: 25.7 kB / 0.9867 GB, free: 13.32 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.783e-05/0.007917, allocations: 130.7 kB / 0.9868 GB, free: 13.18 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.008055, allocations: 109.8 kB / 0.9869 GB, free: 13.06 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.008072, allocations: 25.7 kB / 0.987 GB, free: 13.03 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.502e-05/0.008117, allocations: 84.14 kB / 0.987 GB, free: 12.95 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.158e-06/0.008121, allocations: 0 / 0.987 GB, free: 12.95 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.78e-05/0.008169, allocations: 17.7 kB / 0.987 GB, free: 12.92 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.008285, allocations: 314.8 kB / 0.9873 GB, free: 12.61 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.985e-05/0.008315, allocations: 0 / 0.9873 GB, free: 12.61 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.83e-05/0.008363, allocations: 45.69 kB / 0.9874 GB, free: 12.55 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.303e-05/0.008406, allocations: 16.8 kB / 0.9874 GB, free: 12.54 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.008409, allocations: 0 / 0.9874 GB, free: 12.54 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001391/0.008548, allocations: 45.64 kB / 0.9875 GB, free: 12.48 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.008566, allocations: 4 kB / 0.9875 GB, free: 12.48 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.008575, allocations: 0 / 0.9875 GB, free: 12.48 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.008592, allocations: 0 / 0.9875 GB, free: 12.48 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.383e-06/0.008593, allocations: 0 / 0.9875 GB, free: 12.48 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.008599, allocations: 0 / 0.9875 GB, free: 12.48 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.008705, allocations: 12.06 kB / 0.9875 GB, free: 12.47 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.008715, allocations: 3.938 kB / 0.9875 GB, free: 12.46 MB / 0.948 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.0001056/0.008821, allocations: 193.1 kB / 0.9877 GB, free: 12.27 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.631e-05/0.008887, allocations: 109 kB / 0.9878 GB, free: 12.15 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.01e-05/0.008937, allocations: 108.5 kB / 0.9879 GB, free: 12.04 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.814e-05/0.008995, allocations: 180.2 kB / 0.988 GB, free: 11.86 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.347e-05/0.009059, allocations: 180.2 kB / 0.9882 GB, free: 11.68 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-05/0.00912, allocations: 192.2 kB / 0.9884 GB, free: 11.48 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002027/0.009323, allocations: 352.8 kB / 0.9887 GB, free: 11.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.866e-05/0.009362, allocations: 105 kB / 0.9888 GB, free: 10.99 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.99e-05/0.009401, allocations: 108.9 kB / 0.9889 GB, free: 10.88 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.937e-05/0.009461, allocations: 184.3 kB / 0.9891 GB, free: 10.69 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-05/0.009527, allocations: 176.3 kB / 0.9893 GB, free: 10.51 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.361e-05/0.00959, allocations: 180.2 kB / 0.9894 GB, free: 10.32 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.067e-05/0.009651, allocations: 180.5 kB / 0.9896 GB, free: 10.14 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001413/0.009792, allocations: 311.7 kB / 0.9899 GB, free: 9.812 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.992e-05/0.009862, allocations: 116.9 kB / 0.99 GB, free: 9.691 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.923e-05/0.009931, allocations: 188.2 kB / 0.9902 GB, free: 9.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.095e-05/0.01, allocations: 101 kB / 0.9903 GB, free: 9.395 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.862e-05/0.01007, allocations: 184.2 kB / 0.9905 GB, free: 9.207 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.01011, allocations: 105 kB / 0.9906 GB, free: 9.098 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.613e-05/0.01016, allocations: 87.27 kB / 0.9907 GB, free: 9.012 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.01016, allocations: 0 / 0.9907 GB, free: 9.012 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000278/0.01044, allocations: 7.938 kB / 0.9907 GB, free: 9.004 MB / 0.948 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.0004223/0.01086, allocations: 192 kB / 0.9909 GB, free: 8.809 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001077/0.01097, allocations: 11.94 kB / 0.9909 GB, free: 8.797 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.01097, allocations: 0 / 0.9909 GB, free: 8.797 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.01097, allocations: 64 / 0.9909 GB, free: 8.797 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003911/0.01137, allocations: 463.7 kB / 0.9913 GB, free: 8.34 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000339/0.0117, allocations: 193.9 kB / 0.9915 GB, free: 8.117 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.294e-05/0.01177, allocations: 59.34 kB / 0.9915 GB, free: 8.039 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.999e-05/0.01179, allocations: 8.5 kB / 0.9916 GB, free: 8.031 MB / 0.948 GB Notification: Performance of SimCode: time 5.91e-07/0.01179, allocations: 0 / 0.9916 GB, free: 8.031 MB / 0.948 GB Notification: Performance of Templates: time 0.002172/0.01396, allocations: 0.5351 MB / 0.9921 GB, free: 7.5 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.8294338546693325]