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 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.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.001203/0.001203, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001803/0.001803, allocations: 191.5 kB / 16.14 MB, free: 6.699 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.433/1.433, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.83/2.83, allocations: 472.6 MB / 0.7447 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 69.64 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.3656, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.002562/0.3682, allocations: 1.329 MB / 1.069 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001016/0.3692, allocations: 0.7172 MB / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.003e-05/0.3693, allocations: 7.938 kB / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.367e-05/0.3693, allocations: 3.938 kB / 1.07 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001886/0.3695, allocations: 0 / 1.07 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001824/0.3697, allocations: 51.94 kB / 1.07 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.971e-05/0.3698, allocations: 35.89 kB / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.709e-05/0.3698, allocations: 0 / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.227e-05/0.3699, allocations: 11.94 kB / 1.07 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.37, allocations: 11.94 kB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.3701, allocations: 0 / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.533e-05/0.3701, allocations: 15.97 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.518e-05/0.3702, allocations: 7.984 kB / 1.07 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.114e-05/0.3702, allocations: 7.938 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.487e-05/0.3703, allocations: 15.97 kB / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3703, allocations: 4 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.42e-07/0.3703, allocations: 0 / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.3703, allocations: 0 / 1.07 GB, free: 8.68 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.000318/0.3706, allocations: 341.7 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.3707, allocations: 8.031 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.224e-05/0.3708, allocations: 76.22 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.3709, allocations: 243.7 kB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.414e-05/0.371, allocations: 162.9 kB / 1.071 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.097e-05/0.371, allocations: 154.9 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.672e-05/0.3711, allocations: 105.5 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.458e-05/0.3711, allocations: 75.47 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.123e-05/0.3712, allocations: 158.5 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-05/0.3712, allocations: 150.6 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.264e-05/0.3713, allocations: 154.6 kB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002671/0.3715, allocations: 449.9 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.89e-05/0.3716, allocations: 169.1 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.718e-05/0.3717, allocations: 80.14 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.434e-05/0.3717, allocations: 83.28 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.037e-05/0.3718, allocations: 105.8 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.3718, allocations: 0 / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.755e-05/0.3718, allocations: 37.58 kB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.116e-05/0.3719, allocations: 126.7 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.372, allocations: 109.8 kB / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.3721, allocations: 25.7 kB / 1.072 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.283e-05/0.3721, allocations: 84.14 kB / 1.072 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.726e-06/0.3721, allocations: 4 kB / 1.072 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.613e-05/0.3722, allocations: 25.73 kB / 1.073 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.3723, allocations: 314.8 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.822e-05/0.3723, allocations: 4 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.727e-05/0.3723, allocations: 11.92 kB / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.648e-05/0.3724, allocations: 16.86 kB / 1.073 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3724, allocations: 4.094 kB / 1.073 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001135/0.3725, allocations: 45.62 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.3725, allocations: 4 kB / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/0.3725, allocations: 3.938 kB / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.3725, allocations: 0 / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.925e-06/0.3726, allocations: 4 kB / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.3726, allocations: 0 / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.3727, allocations: 3.938 kB / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.3727, allocations: 3.984 kB / 1.073 GB, free: 5.168 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001015/0.3729, allocations: 190.7 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.873e-05/0.3729, allocations: 101 kB / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.081e-05/0.373, allocations: 124.2 kB / 1.073 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.941e-05/0.373, allocations: 180.2 kB / 1.073 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-05/0.3731, allocations: 176.3 kB / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.466e-05/0.3732, allocations: 180.3 kB / 1.074 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.3734, allocations: 413.2 kB / 1.074 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.19e-05/0.3734, allocations: 108.9 kB / 1.074 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.942e-05/0.3735, allocations: 101 kB / 1.074 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.308e-05/0.3735, allocations: 180.2 kB / 1.075 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.945e-05/0.3736, allocations: 180.2 kB / 1.075 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-05/0.3737, allocations: 192.5 kB / 1.075 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.127e-05/0.3737, allocations: 184.2 kB / 1.075 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.3739, allocations: 303.7 kB / 1.075 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.815e-05/0.3739, allocations: 186.1 kB / 1.076 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.625e-05/0.374, allocations: 188.2 kB / 1.076 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.983e-05/0.3741, allocations: 108.9 kB / 1.076 GB, free: 1.926 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.333e-05/0.3742, allocations: 176.3 kB / 1.076 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.908e-05/0.3742, allocations: 104.9 kB / 1.076 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.729e-05/0.3743, allocations: 91.27 kB / 1.076 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3743, allocations: 0 / 1.076 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002257/0.3745, allocations: 0 / 1.076 GB, free: 1.547 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.0002656/0.3748, allocations: 198 kB / 1.076 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.108e-05/0.3748, allocations: 4 kB / 1.076 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3749, allocations: 0 / 1.076 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.512e-06/0.3749, allocations: 0 / 1.076 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.3752, allocations: 0.5331 MB / 1.077 GB, free: 0.8086 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002621/0.3755, allocations: 175.8 kB / 1.077 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.3757, allocations: 0.6731 MB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.759e-05/0.3758, allocations: 7.984 kB / 1.078 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.139e-05/0.3758, allocations: 7.438 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.3758, allocations: 0 / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of Templates: time 0.002464/0.3783, allocations: 431.5 kB / 1.078 GB, free: 15.51 MB / 0.8419 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