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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001849/0.001849, allocations: 102.1 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001967/0.001967, allocations: 188.7 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.508/2.508, allocations: 437.1 MB / 0.7111 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 68.14 kB / 0.8699 GB, free: 2.156 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3224, allocations: 151.6 MB / 1.018 GB, free: 10.59 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002575/0.325, allocations: 1.258 MB / 1.019 GB, free: 9.324 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.3262, allocations: 0.7349 MB / 1.02 GB, free: 8.586 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.827e-05/0.3262, allocations: 0 / 1.02 GB, free: 8.586 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.631e-05/0.3263, allocations: 3.938 kB / 1.02 GB, free: 8.582 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002266/0.3265, allocations: 11.92 kB / 1.02 GB, free: 8.57 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002009/0.3267, allocations: 57.16 kB / 1.02 GB, free: 8.516 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.208e-05/0.3268, allocations: 15.94 kB / 1.02 GB, free: 8.5 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.413e-05/0.3269, allocations: 3.984 kB / 1.02 GB, free: 8.496 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.642e-05/0.3269, allocations: 8 kB / 1.02 GB, free: 8.488 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.3271, allocations: 22.16 kB / 1.02 GB, free: 8.469 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.3271, allocations: 0 / 1.02 GB, free: 8.469 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 5.3e-05/0.3271, allocations: 11.98 kB / 1.02 GB, free: 8.457 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.376e-05/0.3272, allocations: 7.922 kB / 1.02 GB, free: 8.449 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.262e-05/0.3272, allocations: 7.938 kB / 1.02 GB, free: 8.441 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.577e-05/0.3273, allocations: 19.98 kB / 1.02 GB, free: 8.422 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3273, allocations: 0 / 1.02 GB, free: 8.422 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.472e-06/0.3273, allocations: 0 / 1.02 GB, free: 8.422 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.838e-05/0.3274, allocations: 0 / 1.02 GB, free: 8.422 MB / 0.795 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.000374/0.3277, allocations: 331.6 kB / 1.02 GB, free: 8.047 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.3278, allocations: 12.92 kB / 1.02 GB, free: 8.035 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.371e-05/0.3279, allocations: 88.11 kB / 1.021 GB, free: 7.949 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.3281, allocations: 243.7 kB / 1.021 GB, free: 7.672 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.456e-05/0.3281, allocations: 150.9 kB / 1.021 GB, free: 7.523 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.711e-05/0.3282, allocations: 154.9 kB / 1.021 GB, free: 7.371 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.273e-05/0.3283, allocations: 107.1 kB / 1.021 GB, free: 7.262 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.365e-05/0.3283, allocations: 79.47 kB / 1.021 GB, free: 7.184 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.056e-05/0.3284, allocations: 154.5 kB / 1.021 GB, free: 7.031 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-05/0.3285, allocations: 154.5 kB / 1.022 GB, free: 6.879 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.889e-05/0.3286, allocations: 150.6 kB / 1.022 GB, free: 6.73 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004251/0.329, allocations: 449.9 kB / 1.022 GB, free: 6.242 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.3291, allocations: 177.2 kB / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.092e-05/0.3292, allocations: 84.14 kB / 1.022 GB, free: 5.973 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.816e-05/0.3292, allocations: 79.22 kB / 1.022 GB, free: 5.895 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.582e-05/0.3293, allocations: 109.8 kB / 1.023 GB, free: 5.777 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 1.011e-06/0.3293, allocations: 3.938 kB / 1.023 GB, free: 5.773 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 7.906e-05/0.3293, allocations: 33.64 kB / 1.023 GB, free: 5.734 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.672e-05/0.3294, allocations: 130.7 kB / 1.023 GB, free: 5.594 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.3296, allocations: 109.8 kB / 1.023 GB, free: 5.477 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.3296, allocations: 25.7 kB / 1.023 GB, free: 5.445 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.963e-05/0.3296, allocations: 80.14 kB / 1.023 GB, free: 5.363 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/0.3297, allocations: 0 / 1.023 GB, free: 5.363 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.613e-05/0.3297, allocations: 17.72 kB / 1.023 GB, free: 5.34 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.3298, allocations: 318.8 kB / 1.023 GB, free: 5.02 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.74e-05/0.3299, allocations: 4 kB / 1.023 GB, free: 5.016 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.064e-05/0.3299, allocations: 11.94 kB / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.72e-05/0.3299, allocations: 20.84 kB / 1.023 GB, free: 4.98 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.3299, allocations: 0 / 1.023 GB, free: 4.98 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001153/0.3301, allocations: 37.61 kB / 1.023 GB, free: 4.938 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.3301, allocations: 8 kB / 1.023 GB, free: 4.93 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.3301, allocations: 3.938 kB / 1.023 GB, free: 4.926 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.3301, allocations: 128 / 1.023 GB, free: 4.926 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.865e-06/0.3301, allocations: 7.984 kB / 1.023 GB, free: 4.918 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.3301, allocations: 0 / 1.023 GB, free: 4.918 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.85e-05/0.3302, allocations: 4 kB / 1.023 GB, free: 4.914 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.3303, allocations: 3.938 kB / 1.023 GB, free: 4.91 MB / 0.795 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.0001123/0.3304, allocations: 181.1 kB / 1.023 GB, free: 4.723 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.561e-05/0.3305, allocations: 112.9 kB / 1.024 GB, free: 4.605 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.952e-05/0.3305, allocations: 112.4 kB / 1.024 GB, free: 4.488 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.164e-05/0.3306, allocations: 184.2 kB / 1.024 GB, free: 4.301 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-05/0.3307, allocations: 180.3 kB / 1.024 GB, free: 4.117 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.021e-05/0.3308, allocations: 176.3 kB / 1.024 GB, free: 3.938 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002682/0.3311, allocations: 409.2 kB / 1.025 GB, free: 3.48 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.081e-05/0.3311, allocations: 101 kB / 1.025 GB, free: 3.375 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.63e-05/0.3312, allocations: 108.9 kB / 1.025 GB, free: 3.262 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.37e-05/0.3313, allocations: 180.4 kB / 1.025 GB, free: 3.078 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001124/0.3314, allocations: 192.2 kB / 1.025 GB, free: 2.883 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.685e-05/0.3315, allocations: 180.2 kB / 1.025 GB, free: 2.699 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.909e-05/0.3316, allocations: 176.3 kB / 1.025 GB, free: 2.52 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.3317, allocations: 315.8 kB / 1.026 GB, free: 2.188 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001541/0.3319, allocations: 182.1 kB / 1.026 GB, free: 1.984 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.368e-05/0.332, allocations: 184.1 kB / 1.026 GB, free: 1.797 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.695e-05/0.3321, allocations: 101 kB / 1.026 GB, free: 1.691 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/0.3322, allocations: 184.2 kB / 1.026 GB, free: 1.504 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.647e-05/0.3323, allocations: 109 kB / 1.027 GB, free: 1.391 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.318e-05/0.3323, allocations: 87.53 kB / 1.027 GB, free: 1.305 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3323, allocations: 0 / 1.027 GB, free: 1.305 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002508/0.3326, allocations: 7.938 kB / 1.027 GB, free: 1.297 MB / 0.795 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.000354/0.333, allocations: 196.1 kB / 1.027 GB, free: 1.094 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 8.211e-05/0.3331, allocations: 15.92 kB / 1.027 GB, free: 1.078 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.3331, allocations: 0 / 1.027 GB, free: 1.078 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.3331, allocations: 0 / 1.027 GB, free: 1.078 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004221/0.3335, allocations: 459.7 kB / 1.027 GB, free: 0.625 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002976/0.3338, allocations: 198.5 kB / 1.027 GB, free: 408 kB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/0.3341, allocations: 0.6768 MB / 1.028 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.715e-05/0.3342, allocations: 11.44 kB / 1.028 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of SimCode: time 1.8e-07/0.3342, allocations: 0 / 1.028 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of Templates: time 0.002099/0.3363, allocations: 0.5153 MB / 1.029 GB, free: 15.18 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile (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) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches