Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) 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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 84.38 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.001583/0.001583, 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.465/1.465, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.004/3.004, allocations: 462.6 MB / 0.736 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004022/0.0004023, allocations: 17.44 kB / 0.9021 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3805, allocations: 159.6 MB / 1.058 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.001501/0.382, allocations: 0.9862 MB / 1.059 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001133/0.3832, allocations: 0.6993 MB / 1.06 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.292e-05/0.3832, allocations: 4 kB / 1.06 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.01e-05/0.3833, allocations: 0 / 1.06 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002111/0.3835, allocations: 7.922 kB / 1.06 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001855/0.3837, allocations: 51.88 kB / 1.06 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.892e-05/0.3838, allocations: 19.92 kB / 1.06 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.612e-05/0.3838, allocations: 4 kB / 1.06 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.267e-05/0.3839, allocations: 11.98 kB / 1.06 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.384, allocations: 11.92 kB / 1.06 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.3841, allocations: 0 / 1.06 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.787e-05/0.3841, allocations: 4 kB / 1.06 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.109e-05/0.3841, allocations: 0 / 1.06 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.948e-05/0.3842, allocations: 29.7 kB / 1.06 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.936e-05/0.3843, allocations: 19.97 kB / 1.06 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.3843, allocations: 8 kB / 1.06 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.557e-06/0.3843, allocations: 0 / 1.06 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.3843, allocations: 0 / 1.06 GB, free: 3.41 MB / 0.8106 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.0004023/0.3847, allocations: 323.5 kB / 1.06 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 9.223e-05/0.3848, allocations: 8.031 kB / 1.06 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.681e-05/0.3849, allocations: 79.28 kB / 1.06 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.385, allocations: 242.2 kB / 1.06 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/0.3851, allocations: 158.6 kB / 1.061 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.108e-05/0.3852, allocations: 158.5 kB / 1.061 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.462e-05/0.3853, allocations: 101 kB / 1.061 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.725e-05/0.3853, allocations: 75.28 kB / 1.061 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/0.3854, allocations: 154.5 kB / 1.061 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-05/0.3855, allocations: 150.6 kB / 1.061 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.104e-05/0.3856, allocations: 158.5 kB / 1.061 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002981/0.3859, allocations: 449.9 kB / 1.062 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.225e-05/0.3859, allocations: 165.1 kB / 1.062 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.715e-05/0.386, allocations: 84.14 kB / 1.062 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.145e-05/0.386, allocations: 87.23 kB / 1.062 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.667e-05/0.3861, allocations: 109.8 kB / 1.062 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.3861, allocations: 0 / 1.062 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.653e-05/0.3862, allocations: 29.64 kB / 1.062 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/0.3862, allocations: 126.7 kB / 1.062 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.3863, allocations: 105.8 kB / 1.062 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.3864, allocations: 25.7 kB / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.093e-05/0.3864, allocations: 96.02 kB / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-06/0.3864, allocations: 0 / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.894e-06/0.3864, allocations: 0 / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.3865, allocations: 314.8 kB / 1.063 GB, free: 56 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.246e-05/0.3866, allocations: 7.984 kB / 1.063 GB, free: 48 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.322e-05/0.3866, allocations: 4 kB / 1.063 GB, free: 44 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.063e-05/0.3866, allocations: 4 kB / 1.063 GB, free: 40 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3866, allocations: 0 / 1.063 GB, free: 40 kB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000138/0.3868, allocations: 49.72 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.3868, allocations: 7.953 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3868, allocations: 0 / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.3868, allocations: 4 kB / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.01e-07/0.3868, allocations: 0 / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.3868, allocations: 0 / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.387, allocations: 4 kB / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.387, allocations: 7.984 kB / 1.063 GB, free: 15.96 MB / 0.8262 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.0001123/0.3871, allocations: 185.2 kB / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.596e-05/0.3872, allocations: 116.9 kB / 1.063 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.962e-05/0.3872, allocations: 112.4 kB / 1.063 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.435e-05/0.3873, allocations: 180.2 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.589e-05/0.3874, allocations: 184.2 kB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.567e-05/0.3874, allocations: 180.3 kB / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002913/0.3877, allocations: 401.2 kB / 1.064 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001161/0.3879, allocations: 113 kB / 1.064 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.596e-05/0.3879, allocations: 101 kB / 1.064 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.716e-05/0.388, allocations: 184.2 kB / 1.065 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-05/0.388, allocations: 176.3 kB / 1.065 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.999e-05/0.3881, allocations: 188.2 kB / 1.065 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001669/0.3883, allocations: 184.2 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/0.3885, allocations: 303.8 kB / 1.065 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.907e-05/0.3886, allocations: 182.1 kB / 1.066 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.692e-05/0.3886, allocations: 180.3 kB / 1.066 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.3888, allocations: 112.9 kB / 1.066 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.266e-05/0.3889, allocations: 184.2 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-05/0.389, allocations: 104.9 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.927e-05/0.389, allocations: 91.52 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.389, allocations: 3.938 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002831/0.3893, allocations: 4 kB / 1.066 GB, free: 12.34 MB / 0.8262 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.0002625/0.3896, allocations: 191.5 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.861e-05/0.3897, allocations: 15.92 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3897, allocations: 0 / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.3897, allocations: 0 / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005064/0.3902, allocations: 0.5224 MB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002765/0.3905, allocations: 176 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.3908, allocations: 0.6731 MB / 1.068 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.741e-05/0.3908, allocations: 4 kB / 1.068 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.251e-05/0.3909, allocations: 7.438 kB / 1.068 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3909, allocations: 0 / 1.068 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of Templates: time 0.002625/0.3935, allocations: 400.5 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches