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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001208/0.001208, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009186/0.009186, allocations: 170 kB / 16.26 MB, free: 6.68 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.465/1.465, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.464/2.464, allocations: 390.9 MB / 0.6663 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003838/0.000384, allocations: 15.98 kB / 0.816 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6981/0.6985, allocations: 142.4 MB / 0.955 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.00209/0.7006, allocations: 0.9669 MB / 0.956 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001843/0.7025, allocations: 0.6911 MB / 0.9567 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.189e-05/0.7026, allocations: 0 / 0.9567 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.155e-05/0.7026, allocations: 0 / 0.9567 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003119/0.703, allocations: 24.16 kB / 0.9567 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001153/0.7031, allocations: 10.09 kB / 0.9567 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.494e-05/0.7032, allocations: 20.48 kB / 0.9567 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.778e-05/0.7033, allocations: 1.031 kB / 0.9567 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.11e-05/0.7033, allocations: 6.203 kB / 0.9567 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002587/0.7036, allocations: 5.922 kB / 0.9567 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.7036, allocations: 0 / 0.9567 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.981e-05/0.7037, allocations: 14.42 kB / 0.9567 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.029e-05/0.7038, allocations: 9.047 kB / 0.9567 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.124e-05/0.7039, allocations: 27.05 kB / 0.9568 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.704, allocations: 17.48 kB / 0.9568 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.704, allocations: 0 / 0.9568 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.747e-06/0.704, allocations: 1.125 kB / 0.9568 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.704, allocations: 0 / 0.9568 GB, free: 6.484 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.0003601/0.7044, allocations: 308.3 kB / 0.9571 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.7044, allocations: 12.22 kB / 0.9571 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.492e-05/0.7045, allocations: 81.38 kB / 0.9572 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.7047, allocations: 244.8 kB / 0.9574 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.184e-05/0.7048, allocations: 156.2 kB / 0.9576 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.598e-05/0.7048, allocations: 152 kB / 0.9577 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.15e-05/0.7049, allocations: 109.5 kB / 0.9578 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/0.7049, allocations: 76.41 kB / 0.9579 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.378e-05/0.7049, allocations: 158.5 kB / 0.958 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.956e-05/0.705, allocations: 154.6 kB / 0.9582 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.169e-05/0.705, allocations: 151.7 kB / 0.9583 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002504/0.7053, allocations: 448.2 kB / 0.9587 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.049e-05/0.7054, allocations: 174.4 kB / 0.9589 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.333e-05/0.7054, allocations: 84.14 kB / 0.959 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.7054, allocations: 75.28 kB / 0.9591 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.7054, allocations: 111 kB / 0.9592 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.7054, allocations: 0 / 0.9592 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 8.936e-05/0.7055, allocations: 30.7 kB / 0.9592 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.7056, allocations: 127.7 kB / 0.9593 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.681e-05/0.7057, allocations: 101.2 kB / 0.9594 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.959e-06/0.7057, allocations: 26.8 kB / 0.9594 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.145e-05/0.7057, allocations: 86.66 kB / 0.9595 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.7058, allocations: 0 / 0.9595 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.764e-05/0.7058, allocations: 9.719 kB / 0.9595 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.522e-05/0.7058, allocations: 316.2 kB / 0.9598 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.29e-06/0.7059, allocations: 0 / 0.9598 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.598e-05/0.7059, allocations: 1.219 kB / 0.9598 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.613e-05/0.7059, allocations: 75.28 kB / 0.9599 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.334e-05/0.7059, allocations: 84.59 kB / 0.96 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.994e-05/0.706, allocations: 32.03 kB / 0.96 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.706, allocations: 80.75 kB / 0.9601 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/0.706, allocations: 83.16 kB / 0.9602 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.83e-05/0.7061, allocations: 151.6 kB / 0.9603 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.16e-05/0.7061, allocations: 76.5 kB / 0.9604 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.784e-05/0.7061, allocations: 159.4 kB / 0.9605 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.7063, allocations: 81.5 kB / 0.9606 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.7063, allocations: 79.22 kB / 0.9607 GB, free: 2.281 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 7.557e-05/0.7064, allocations: 264.7 kB / 0.961 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.277e-05/0.7064, allocations: 103.2 kB / 0.961 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.219e-05/0.7065, allocations: 112.9 kB / 0.9612 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.349e-05/0.7065, allocations: 192.2 kB / 0.9613 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.348e-05/0.7065, allocations: 177.6 kB / 0.9615 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.039e-05/0.7066, allocations: 185.2 kB / 0.9617 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.7067, allocations: 403.4 kB / 0.9621 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.407e-05/0.7068, allocations: 110.1 kB / 0.9622 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.978e-05/0.7068, allocations: 106 kB / 0.9623 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-05/0.7068, allocations: 181.3 kB / 0.9624 GB, free: 384 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.8e-05/0.7069, allocations: 185.4 kB / 0.9626 GB, free: 192 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.869e-05/0.7069, allocations: 176.3 kB / 0.9628 GB, free: 8 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001291/0.7071, allocations: 181.3 kB / 0.963 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001858/0.7073, allocations: 307.1 kB / 0.9633 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.753e-05/0.7074, allocations: 183.5 kB / 0.9634 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.962e-05/0.7075, allocations: 182 kB / 0.9636 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.7076, allocations: 110.2 kB / 0.9637 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.415e-05/0.7077, allocations: 180.3 kB / 0.9639 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.676e-05/0.7078, allocations: 106.2 kB / 0.964 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.977e-05/0.7078, allocations: 78.69 kB / 0.9641 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7078, allocations: 0 / 0.9641 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003038/0.7081, allocations: 6.219 kB / 0.9641 GB, free: 14.63 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.0003653/0.7085, allocations: 196.1 kB / 0.9643 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 5.203e-05/0.7086, allocations: 4.094 kB / 0.9643 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.7086, allocations: 1.062 kB / 0.9643 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.078e-06/0.7086, allocations: 0 / 0.9643 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004283/0.709, allocations: 0.5296 MB / 0.9648 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002797/0.7093, allocations: 163.8 kB / 0.9649 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.7096, allocations: 0.6782 MB / 0.9656 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.704e-05/0.7096, allocations: 1.094 kB / 0.9656 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.581e-05/0.7096, allocations: 12.44 kB / 0.9656 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.7096, allocations: 0 / 0.9656 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of Templates: time 0.003263/0.7129, allocations: 311.2 kB / 0.9659 GB, free: 12.89 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/jenkins/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