Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_10_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_10_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.001458/0.001458, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001405/0.001405, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.34/1.34, allocations: 222.9 MB / 241.1 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.397/2.397, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 63.91 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8022/0.8035, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002312/0.8058, allocations: 1.243 MB / 1.169 GB, free: 2.594 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.8069, allocations: 0.7256 MB / 1.169 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.655e-05/0.807, allocations: 0 / 1.169 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.953e-05/0.807, allocations: 0 / 1.169 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002044/0.8072, allocations: 15.92 kB / 1.169 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 7.422e-05/0.8073, allocations: 11.94 kB / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.017e-05/0.8074, allocations: 11.92 kB / 1.169 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.411e-05/0.8074, allocations: 3.984 kB / 1.169 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.118e-05/0.8075, allocations: 4 kB / 1.169 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.8076, allocations: 4 kB / 1.169 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.8076, allocations: 3.984 kB / 1.169 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 4.244e-05/0.8077, allocations: 12 kB / 1.169 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.77e-05/0.8077, allocations: 4 kB / 1.169 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.363e-05/0.8078, allocations: 3.938 kB / 1.169 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 7.765e-05/0.8078, allocations: 15.91 kB / 1.169 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.8079, allocations: 4 kB / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.192e-06/0.8079, allocations: 0 / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.8079, allocations: 0 / 1.169 GB, free: 1.773 MB / 0.8887 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.0002852/0.8082, allocations: 315.6 kB / 1.17 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.8082, allocations: 12.92 kB / 1.17 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.377e-05/0.8083, allocations: 80.22 kB / 1.17 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/0.8085, allocations: 235.7 kB / 1.17 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.924e-05/0.8086, allocations: 158.9 kB / 1.17 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.454e-05/0.8086, allocations: 150.9 kB / 1.17 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.777e-05/0.8087, allocations: 101.5 kB / 1.17 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.8087, allocations: 75.47 kB / 1.17 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.977e-05/0.8088, allocations: 154.5 kB / 1.171 GB, free: 428 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.714e-05/0.8088, allocations: 162.5 kB / 1.171 GB, free: 264 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.809, allocations: 154.6 kB / 1.171 GB, free: 108 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002853/0.8093, allocations: 445.9 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 7.337e-05/0.8093, allocations: 169.1 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.958e-05/0.8094, allocations: 80.14 kB / 1.172 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.8094, allocations: 79.28 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.513e-05/0.8095, allocations: 113.8 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.8095, allocations: 0 / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 6.933e-05/0.8096, allocations: 33.62 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.8096, allocations: 126.7 kB / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.971e-05/0.8097, allocations: 97.86 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.8097, allocations: 29.83 kB / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 2.952e-05/0.8098, allocations: 80.14 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-06/0.8098, allocations: 0 / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.403e-05/0.8098, allocations: 13.72 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.706e-05/0.8099, allocations: 310.8 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.338e-06/0.8099, allocations: 0 / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.823e-05/0.81, allocations: 7.984 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.429e-05/0.81, allocations: 79.22 kB / 1.172 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-05/0.8101, allocations: 79.31 kB / 1.173 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.436e-05/0.8101, allocations: 33.55 kB / 1.173 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.246e-05/0.8102, allocations: 87.28 kB / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.299e-05/0.8102, allocations: 79.22 kB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.7e-05/0.8103, allocations: 154.5 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.227e-05/0.8103, allocations: 75.28 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001/0.8104, allocations: 166.5 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.8105, allocations: 79.28 kB / 1.173 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.537e-05/0.8106, allocations: 75.28 kB / 1.173 GB, free: 13.52 MB / 0.9044 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.0001129/0.8107, allocations: 264.4 kB / 1.173 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.24e-05/0.8108, allocations: 104.9 kB / 1.174 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.55e-05/0.8108, allocations: 112 kB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.546e-05/0.8109, allocations: 188.2 kB / 1.174 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-05/0.8109, allocations: 176.3 kB / 1.174 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.915e-05/0.811, allocations: 180.5 kB / 1.174 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002078/0.8112, allocations: 409.2 kB / 1.175 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.248e-05/0.8112, allocations: 105 kB / 1.175 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.465e-05/0.8113, allocations: 104.9 kB / 1.175 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.433e-05/0.8113, allocations: 180.3 kB / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.95e-05/0.8114, allocations: 184.2 kB / 1.175 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.14e-05/0.8115, allocations: 188.2 kB / 1.175 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.652e-05/0.8115, allocations: 176.3 kB / 1.175 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.8117, allocations: 311.8 kB / 1.176 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.588e-05/0.8117, allocations: 190 kB / 1.176 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.716e-05/0.8118, allocations: 184.2 kB / 1.176 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.945e-05/0.8119, allocations: 104.9 kB / 1.176 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.928e-05/0.812, allocations: 180.2 kB / 1.176 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.211e-05/0.812, allocations: 101 kB / 1.177 GB, free: 9.926 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.511e-05/0.8121, allocations: 87.27 kB / 1.177 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8121, allocations: 0 / 1.177 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002748/0.8124, allocations: 7.656 kB / 1.177 GB, free: 9.836 MB / 0.9044 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.0002602/0.8126, allocations: 188.8 kB / 1.177 GB, free: 9.641 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 4.01e-05/0.8127, allocations: 3.938 kB / 1.177 GB, free: 9.637 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.8127, allocations: 8.094 kB / 1.177 GB, free: 9.629 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.8127, allocations: 0 / 1.177 GB, free: 9.629 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/0.8131, allocations: 455.3 kB / 1.177 GB, free: 9.184 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002576/0.8134, allocations: 197.5 kB / 1.177 GB, free: 8.961 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/0.8136, allocations: 0.669 MB / 1.178 GB, free: 8.266 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.66e-05/0.8136, allocations: 15.44 kB / 1.178 GB, free: 8.25 MB / 0.9044 GB Notification: Performance of SimCode: time 2.1e-07/0.8136, allocations: 0 / 1.178 GB, free: 8.25 MB / 0.9044 GB Notification: Performance of Templates: time 0.00179/0.8154, allocations: 473.6 kB / 1.179 GB, free: 7.793 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches