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.001402/0.001402, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001757/0.001757, allocations: 188.8 kB / 16.25 MB, free: 6.633 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.395/1.395, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.857/2.857, allocations: 472.6 MB / 0.7448 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 70.02 kB / 0.9116 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3421, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002191/0.3443, allocations: 1.303 MB / 1.069 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009247/0.3453, allocations: 0.7133 MB / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.484e-05/0.3453, allocations: 0 / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.366e-05/0.3454, allocations: 0 / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001938/0.3456, allocations: 11.98 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.753e-05/0.3456, allocations: 7.984 kB / 1.07 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.44e-05/0.3457, allocations: 7.938 kB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.697e-05/0.3457, allocations: 0 / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.3e-05/0.3458, allocations: 4 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.3459, allocations: 7.984 kB / 1.07 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.3459, allocations: 4 kB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.374e-05/0.346, allocations: 7.984 kB / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.52e-05/0.346, allocations: 7.938 kB / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.266e-05/0.3461, allocations: 7.938 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.515e-05/0.3461, allocations: 15.97 kB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.3461, allocations: 0 / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3462, allocations: 3.938 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.3462, allocations: 0 / 1.07 GB, free: 8.66 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.0002613/0.3464, allocations: 307.6 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.3465, allocations: 12.03 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.7e-05/0.3465, allocations: 84.22 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.3467, allocations: 239.7 kB / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.373e-05/0.3467, allocations: 154.9 kB / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.707e-05/0.3468, allocations: 154.9 kB / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.01e-05/0.3468, allocations: 101.5 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/0.3468, allocations: 79.47 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.279e-05/0.3469, allocations: 154.5 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.382e-05/0.3469, allocations: 150.6 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.485e-05/0.347, allocations: 154.5 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002377/0.3472, allocations: 449.9 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.376e-05/0.3473, allocations: 169.1 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.851e-05/0.3473, allocations: 80.14 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.3474, allocations: 79.28 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.108e-05/0.3474, allocations: 113.8 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 2.144e-06/0.3474, allocations: 0 / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 6.712e-05/0.3475, allocations: 37.58 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.3475, allocations: 126.7 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.262e-05/0.3476, allocations: 97.84 kB / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.3477, allocations: 25.7 kB / 1.072 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.111e-05/0.3477, allocations: 84.14 kB / 1.073 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.323e-06/0.3477, allocations: 0 / 1.073 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.229e-05/0.3477, allocations: 13.72 kB / 1.073 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.125e-05/0.3478, allocations: 315 kB / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.889e-06/0.3478, allocations: 0 / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.214e-05/0.3478, allocations: 0 / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.089e-05/0.3479, allocations: 79.28 kB / 1.073 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.202e-05/0.3479, allocations: 75.28 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.981e-05/0.3479, allocations: 37.53 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.292e-05/0.348, allocations: 83.28 kB / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.369e-05/0.348, allocations: 79.22 kB / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.307e-05/0.3481, allocations: 166.6 kB / 1.073 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.939e-05/0.3481, allocations: 75.28 kB / 1.073 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.342e-05/0.3481, allocations: 158.6 kB / 1.074 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.3483, allocations: 83.3 kB / 1.074 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.3483, allocations: 79.22 kB / 1.074 GB, free: 4.406 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.0001095/0.3484, allocations: 270.4 kB / 1.074 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.666e-05/0.3485, allocations: 108.9 kB / 1.074 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.185e-05/0.3486, allocations: 111.8 kB / 1.074 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.424e-05/0.3486, allocations: 184.2 kB / 1.074 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.013e-05/0.3487, allocations: 180.2 kB / 1.075 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.126e-05/0.3487, allocations: 176.3 kB / 1.075 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.3489, allocations: 409.2 kB / 1.075 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.608e-05/0.349, allocations: 101 kB / 1.075 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.005e-05/0.349, allocations: 108.9 kB / 1.075 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-05/0.3491, allocations: 176.3 kB / 1.075 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.607e-05/0.3491, allocations: 184.2 kB / 1.076 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-05/0.3492, allocations: 180.2 kB / 1.076 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.475e-05/0.3492, allocations: 188.3 kB / 1.076 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001109/0.3494, allocations: 303.8 kB / 1.076 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.519e-05/0.3494, allocations: 178.1 kB / 1.076 GB, free: 1.414 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.047e-05/0.3495, allocations: 192.1 kB / 1.077 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.801e-05/0.3496, allocations: 112.9 kB / 1.077 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.554e-05/0.3496, allocations: 180.2 kB / 1.077 GB, free: 0.918 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.684e-05/0.3497, allocations: 101 kB / 1.077 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.397e-05/0.3497, allocations: 79.28 kB / 1.077 GB, free: 0.7344 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3497, allocations: 0 / 1.077 GB, free: 0.7344 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000252/0.35, allocations: 4 kB / 1.077 GB, free: 0.7305 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 (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.0002671/0.3502, allocations: 193.9 kB / 1.077 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 4.056e-05/0.3503, allocations: 0 / 1.077 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.3503, allocations: 0 / 1.077 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.717e-06/0.3503, allocations: 11.92 kB / 1.077 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003239/0.3506, allocations: 459.7 kB / 1.078 GB, free: 68 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002459/0.3509, allocations: 160.8 kB / 1.078 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001911/0.3511, allocations: 0.6768 MB / 1.079 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.12e-05/0.3511, allocations: 0 / 1.079 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.541e-05/0.3511, allocations: 7.438 kB / 1.079 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3511, allocations: 0 / 1.079 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of Templates: time 0.002163/0.3533, allocations: 327.5 kB / 1.079 GB, free: 14.89 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