Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002198/0.002198, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.377/1.377, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.85/2.85, allocations: 472.6 MB / 0.7451 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002273/0.002273, allocations: 65.95 kB / 0.9121 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4204/0.4227, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.003273/0.426, allocations: 1.235 MB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.4274, allocations: 0.7253 MB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.235e-05/0.4275, allocations: 0 / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.403e-05/0.4275, allocations: 3.938 kB / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000322/0.4279, allocations: 11.98 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001112/0.428, allocations: 7.938 kB / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.633e-05/0.4281, allocations: 11.98 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.609e-05/0.4282, allocations: 0 / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.831e-05/0.4282, allocations: 4 kB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.4284, allocations: 8.547 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.4284, allocations: 0 / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.906e-05/0.4286, allocations: 19.92 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.189e-05/0.4286, allocations: 3.938 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.061e-05/0.4287, allocations: 4 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.4288, allocations: 7.984 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.4288, allocations: 3.938 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.355e-06/0.4288, allocations: 0 / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.4288, allocations: 0 / 1.07 GB, free: 8.32 MB / 0.8262 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.0003668/0.4292, allocations: 311.6 kB / 1.071 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.4292, allocations: 12.03 kB / 1.071 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.882e-05/0.4293, allocations: 80.2 kB / 1.071 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.4296, allocations: 239.7 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.677e-05/0.4296, allocations: 150.9 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.434e-05/0.4297, allocations: 154.9 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.935e-05/0.4298, allocations: 101.5 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.229e-05/0.4299, allocations: 79.41 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.721e-05/0.43, allocations: 162.5 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.062e-05/0.4301, allocations: 150.6 kB / 1.072 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.46e-05/0.4302, allocations: 150.6 kB / 1.072 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004266/0.4306, allocations: 449.9 kB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.4307, allocations: 173.1 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.799e-05/0.4308, allocations: 84.08 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.722e-05/0.4308, allocations: 79.22 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.176e-05/0.4309, allocations: 105.8 kB / 1.073 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.4309, allocations: 4 kB / 1.073 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001014/0.431, allocations: 29.64 kB / 1.073 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.792e-05/0.4311, allocations: 130.7 kB / 1.073 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.4313, allocations: 101.8 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.946e-05/0.4313, allocations: 25.7 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.139e-05/0.4314, allocations: 80.14 kB / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.627e-06/0.4314, allocations: 0 / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.409e-05/0.4314, allocations: 13.72 kB / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.4316, allocations: 310.9 kB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.177e-05/0.4316, allocations: 8.062 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.481e-05/0.4316, allocations: 4 kB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.064e-05/0.4317, allocations: 79.28 kB / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.268e-05/0.4317, allocations: 75.28 kB / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.414e-05/0.4318, allocations: 37.59 kB / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.867e-05/0.4319, allocations: 83.28 kB / 1.074 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.233e-05/0.4319, allocations: 83.16 kB / 1.074 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.976e-05/0.432, allocations: 150.6 kB / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.962e-05/0.432, allocations: 79.31 kB / 1.074 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.315e-05/0.4321, allocations: 158.5 kB / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.4322, allocations: 75.28 kB / 1.074 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.319e-05/0.4323, allocations: 83.2 kB / 1.074 GB, free: 4.07 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 (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 prepare postOptimizeDAE: time 0.0001406/0.4324, allocations: 266.4 kB / 1.074 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.553e-05/0.4325, allocations: 105 kB / 1.074 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.521e-05/0.4326, allocations: 116 kB / 1.075 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.5e-05/0.4327, allocations: 184.2 kB / 1.075 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.989e-05/0.4328, allocations: 184.3 kB / 1.075 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.937e-05/0.4329, allocations: 180.2 kB / 1.075 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002735/0.4332, allocations: 405.2 kB / 1.076 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.022e-05/0.4332, allocations: 105 kB / 1.076 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.193e-05/0.4332, allocations: 108.9 kB / 1.076 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.125e-05/0.4333, allocations: 176.3 kB / 1.076 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-05/0.4334, allocations: 192.1 kB / 1.076 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.215e-05/0.4335, allocations: 180.3 kB / 1.076 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.752e-05/0.4336, allocations: 180.3 kB / 1.076 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.4337, allocations: 315.7 kB / 1.077 GB, free: 1.262 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.689e-05/0.4338, allocations: 182 kB / 1.077 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.573e-05/0.4339, allocations: 180.2 kB / 1.077 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.237e-05/0.434, allocations: 109 kB / 1.077 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.542e-05/0.434, allocations: 184.2 kB / 1.077 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.404e-05/0.4341, allocations: 101 kB / 1.077 GB, free: 480 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.435e-05/0.4341, allocations: 83.28 kB / 1.078 GB, free: 396 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.4342, allocations: 0 / 1.078 GB, free: 396 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002898/0.4344, allocations: 4 kB / 1.078 GB, free: 392 kB / 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 (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.0003285/0.4348, allocations: 195.1 kB / 1.078 GB, free: 184 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.266e-05/0.4348, allocations: 7.922 kB / 1.078 GB, free: 176 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4349, allocations: 0 / 1.078 GB, free: 176 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.4349, allocations: 0 / 1.078 GB, free: 176 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.4352, allocations: 455.7 kB / 1.078 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002896/0.4355, allocations: 168.8 kB / 1.078 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.4358, allocations: 0.6768 MB / 1.079 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.234e-05/0.4358, allocations: 0 / 1.079 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.595e-05/0.4359, allocations: 7.438 kB / 1.079 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of SimCode: time 1.9e-07/0.4359, allocations: 0 / 1.079 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of Templates: time 0.00346/0.4393, allocations: 334 kB / 1.079 GB, free: 14.54 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches