Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001076/0.001077, allocations: 92.47 kB / 16.02 MB, free: 80 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.001807/0.001807, allocations: 176.6 kB / 16.92 MB, free: 6.652 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.365/1.365, allocations: 223.3 MB / 241 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.404/2.404, allocations: 390.9 MB / 0.667 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003857/0.0003859, allocations: 11.98 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7583/0.7587, allocations: 142.4 MB / 0.9557 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.001194/0.7599, allocations: 0.9746 MB / 0.9567 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009021/0.7609, allocations: 0.6863 MB / 0.9573 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.585e-05/0.7609, allocations: 1.125 kB / 0.9573 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.135e-05/0.7609, allocations: 0 / 0.9573 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000189/0.7611, allocations: 20.16 kB / 0.9574 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.682e-05/0.7612, allocations: 6.125 kB / 0.9574 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.945e-05/0.7613, allocations: 12.95 kB / 0.9574 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.271e-05/0.7613, allocations: 0.9688 kB / 0.9574 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.28e-05/0.7613, allocations: 5.844 kB / 0.9574 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.7615, allocations: 13.45 kB / 0.9574 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.7615, allocations: 0 / 0.9574 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.687e-05/0.7616, allocations: 17.27 kB / 0.9574 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.34e-05/0.7616, allocations: 1.375 kB / 0.9574 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.854e-05/0.7617, allocations: 31.19 kB / 0.9574 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.611e-05/0.7617, allocations: 8.141 kB / 0.9574 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.7618, allocations: 3.938 kB / 0.9575 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.665e-06/0.7618, allocations: 1.031 kB / 0.9575 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.197e-06/0.7618, allocations: 0 / 0.9575 GB, free: 6.516 MB / 0.7169 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.0001972/0.762, allocations: 309.9 kB / 0.9577 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.762, allocations: 13.78 kB / 0.9578 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.428e-05/0.7621, allocations: 81.22 kB / 0.9578 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.367e-05/0.7622, allocations: 244.9 kB / 0.9581 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.083e-05/0.7622, allocations: 150.9 kB / 0.9582 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.7622, allocations: 152.2 kB / 0.9584 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.247e-05/0.7623, allocations: 110.7 kB / 0.9585 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.7623, allocations: 83.47 kB / 0.9585 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/0.7623, allocations: 155.8 kB / 0.9587 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.914e-05/0.7624, allocations: 150.6 kB / 0.9588 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.254e-05/0.7624, allocations: 150.6 kB / 0.959 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001842/0.7626, allocations: 451.9 kB / 0.9594 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.493e-05/0.7626, allocations: 170.1 kB / 0.9596 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.746e-05/0.7627, allocations: 81.2 kB / 0.9597 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.7627, allocations: 75.28 kB / 0.9597 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.7627, allocations: 106.9 kB / 0.9598 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.7627, allocations: 0 / 0.9598 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.808e-05/0.7628, allocations: 34.83 kB / 0.9599 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.7628, allocations: 127.9 kB / 0.96 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.554e-05/0.7629, allocations: 101.3 kB / 0.9601 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.095e-06/0.7629, allocations: 25.7 kB / 0.9601 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.134e-05/0.7629, allocations: 86.72 kB / 0.9602 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-06/0.7629, allocations: 0 / 0.9602 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.416e-05/0.763, allocations: 9.719 kB / 0.9602 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.102e-05/0.763, allocations: 316 kB / 0.9605 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.366e-06/0.763, allocations: 0 / 0.9605 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.613e-05/0.763, allocations: 2.5 kB / 0.9605 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.236e-05/0.7631, allocations: 75.28 kB / 0.9606 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.167e-05/0.7631, allocations: 75.28 kB / 0.9606 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.789e-05/0.7631, allocations: 29.17 kB / 0.9607 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.7631, allocations: 83.75 kB / 0.9607 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.7632, allocations: 88.3 kB / 0.9608 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.836e-05/0.7632, allocations: 155.8 kB / 0.961 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.163e-05/0.7632, allocations: 76.41 kB / 0.9611 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.047e-05/0.7632, allocations: 154.5 kB / 0.9612 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.7634, allocations: 81.41 kB / 0.9613 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.7634, allocations: 80.28 kB / 0.9614 GB, free: 2.32 MB / 0.7169 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 6.516e-05/0.7634, allocations: 272.8 kB / 0.9616 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.686e-05/0.7635, allocations: 102.1 kB / 0.9617 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.739e-05/0.7635, allocations: 120.9 kB / 0.9618 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.498e-05/0.7635, allocations: 185.6 kB / 0.962 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.411e-05/0.7636, allocations: 176.5 kB / 0.9622 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.276e-05/0.7636, allocations: 185.3 kB / 0.9624 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.7637, allocations: 407.6 kB / 0.9627 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.647e-05/0.7638, allocations: 106.2 kB / 0.9628 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.42e-05/0.7638, allocations: 101 kB / 0.9629 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.869e-05/0.7638, allocations: 181.3 kB / 0.9631 GB, free: 420 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/0.7638, allocations: 185.3 kB / 0.9633 GB, free: 228 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.219e-05/0.7639, allocations: 185.3 kB / 0.9635 GB, free: 36 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.493e-05/0.7639, allocations: 181.1 kB / 0.9636 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.7641, allocations: 299.2 kB / 0.9639 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.839e-05/0.7641, allocations: 187.1 kB / 0.9641 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.779e-05/0.7642, allocations: 182.5 kB / 0.9643 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.556e-05/0.7643, allocations: 112.9 kB / 0.9644 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.228e-05/0.7644, allocations: 181.2 kB / 0.9646 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.231e-05/0.7644, allocations: 102.1 kB / 0.9647 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.834e-05/0.7645, allocations: 82.62 kB / 0.9647 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7645, allocations: 0 / 0.9647 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002582/0.7647, allocations: 6.094 kB / 0.9647 GB, free: 14.66 MB / 0.7325 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.0003064/0.765, allocations: 198.1 kB / 0.9649 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 3.727e-05/0.7651, allocations: 2.25 kB / 0.9649 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.7651, allocations: 0 / 0.9649 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.7651, allocations: 0 / 0.9649 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003884/0.7655, allocations: 0.5283 MB / 0.9654 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002732/0.7658, allocations: 191.2 kB / 0.9656 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.766, allocations: 0.6703 MB / 0.9663 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.55e-05/0.7661, allocations: 8.344 kB / 0.9663 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of SimCode: time 3.5e-07/0.7661, allocations: 5.062 kB / 0.9663 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of Templates: time 0.002024/0.7681, allocations: 470.8 kB / 0.9667 GB, free: 12.81 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches