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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001101/0.001101, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.001221/0.001221, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.861/2.861, allocations: 437.7 MB / 0.7117 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00038/0.0003806, allocations: 15.94 kB / 0.8722 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9298/0.9302, allocations: 153.8 MB / 1.022 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.001522/0.9318, allocations: 0.9838 MB / 1.023 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001131/0.9329, allocations: 0.6955 MB / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.175e-05/0.933, allocations: 0 / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 5.165e-05/0.933, allocations: 0 / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000282/0.9333, allocations: 15.98 kB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001999/0.9335, allocations: 47.38 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.777e-05/0.9336, allocations: 23.92 kB / 1.024 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.723e-05/0.9337, allocations: 7.922 kB / 1.024 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.187e-05/0.9338, allocations: 11.98 kB / 1.024 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001759/0.934, allocations: 9.656 kB / 1.024 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.934, allocations: 0 / 1.024 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.005e-05/0.934, allocations: 8 kB / 1.024 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.765e-05/0.9341, allocations: 7.984 kB / 1.024 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.866e-05/0.9342, allocations: 33.69 kB / 1.024 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.739e-05/0.9342, allocations: 12 kB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.776e-06/0.9343, allocations: 0 / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.494e-06/0.9343, allocations: 0 / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.9343, allocations: 0 / 1.024 GB, free: 14.18 MB / 0.7794 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.0005281/0.9348, allocations: 321.3 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/0.9349, allocations: 8.562 kB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.91e-05/0.935, allocations: 79.28 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.9352, allocations: 242.3 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.587e-05/0.9353, allocations: 154.5 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.025e-05/0.9354, allocations: 158.5 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.338e-05/0.9355, allocations: 112.9 kB / 1.025 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.941e-05/0.9355, allocations: 75.28 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-05/0.9356, allocations: 150.6 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.127e-05/0.9357, allocations: 154.6 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.572e-05/0.9358, allocations: 150.6 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003726/0.9362, allocations: 453.9 kB / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.9363, allocations: 173.1 kB / 1.026 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.857e-05/0.9364, allocations: 84.14 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.197e-05/0.9364, allocations: 75.28 kB / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.757e-05/0.9365, allocations: 109.8 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.353e-06/0.9365, allocations: 0 / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.0001022/0.9366, allocations: 37.55 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.233e-05/0.9367, allocations: 126.7 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.9369, allocations: 109.8 kB / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.9369, allocations: 25.7 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.666e-05/0.937, allocations: 84.14 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.11e-06/0.937, allocations: 0 / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-06/0.937, allocations: 7.922 kB / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.9372, allocations: 314.8 kB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.328e-05/0.9372, allocations: 4 kB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.744e-05/0.9372, allocations: 8 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.442e-05/0.9373, allocations: 16.08 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.9373, allocations: 0 / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001365/0.9374, allocations: 37.64 kB / 1.027 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.9374, allocations: 8 kB / 1.027 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.112e-05/0.9375, allocations: 3.953 kB / 1.027 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.9375, allocations: 0 / 1.027 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.362e-06/0.9375, allocations: 0 / 1.027 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.9375, allocations: 0 / 1.027 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.9376, allocations: 3.984 kB / 1.027 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.9377, allocations: 4 kB / 1.027 GB, free: 10.73 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001401/0.9378, allocations: 185.2 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.266e-05/0.9379, allocations: 105 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.442e-05/0.938, allocations: 116.4 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001078/0.9381, allocations: 180.2 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001115/0.9382, allocations: 180.5 kB / 1.028 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001482/0.9384, allocations: 184.2 kB / 1.028 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003448/0.9387, allocations: 409.2 kB / 1.029 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.478e-05/0.9388, allocations: 104.9 kB / 1.029 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.363e-05/0.9389, allocations: 105 kB / 1.029 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001112/0.939, allocations: 176.3 kB / 1.029 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001163/0.9391, allocations: 188.2 kB / 1.029 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001145/0.9392, allocations: 184.2 kB / 1.029 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001075/0.9393, allocations: 188.4 kB / 1.03 GB, free: 8.324 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.9396, allocations: 303.8 kB / 1.03 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001619/0.9397, allocations: 186 kB / 1.03 GB, free: 7.797 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.9399, allocations: 188.3 kB / 1.03 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.94, allocations: 104.9 kB / 1.03 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.9401, allocations: 180.2 kB / 1.03 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.106e-05/0.9402, allocations: 109 kB / 1.031 GB, free: 7.199 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.747e-05/0.9402, allocations: 87.22 kB / 1.031 GB, free: 7.113 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.9402, allocations: 0 / 1.031 GB, free: 7.113 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002808/0.9405, allocations: 8 kB / 1.031 GB, free: 7.105 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003221/0.9409, allocations: 190.4 kB / 1.031 GB, free: 6.906 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.369e-05/0.941, allocations: 4 kB / 1.031 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.941, allocations: 0 / 1.031 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.472e-06/0.941, allocations: 0 / 1.031 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004875/0.9415, allocations: 0.5263 MB / 1.031 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003233/0.9418, allocations: 173.7 kB / 1.032 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/0.9422, allocations: 0.6731 MB / 1.032 GB, free: 5.477 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.386e-05/0.9422, allocations: 4 kB / 1.032 GB, free: 5.473 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.645e-05/0.9422, allocations: 7.438 kB / 1.032 GB, free: 5.465 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.9423, allocations: 0 / 1.032 GB, free: 5.465 MB / 0.7794 GB Notification: Performance of Templates: time 0.003399/0.9457, allocations: 391.3 kB / 1.033 GB, free: 5.09 MB / 0.7794 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=480 -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/jenkins/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