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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004855/0.004856, allocations: 96.56 kB / 15.73 MB, free: 5.996 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.001136/0.001136, allocations: 186 kB / 16.67 MB, free: 5.926 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.697/2.697, allocations: 469.4 MB / 0.7422 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.00128, allocations: 63.91 kB / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.263, allocations: 159.1 MB / 1.22 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.002208/0.2653, allocations: 1.266 MB / 1.221 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00102/0.2663, allocations: 0.7367 MB / 1.222 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.384e-05/0.2663, allocations: 0 / 1.222 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.764e-05/0.2664, allocations: 0 / 1.222 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000177/0.2666, allocations: 15.92 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001906/0.2668, allocations: 54.59 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.932e-05/0.2668, allocations: 19.98 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.549e-05/0.2669, allocations: 4 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.28e-05/0.2669, allocations: 15.92 kB / 1.222 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.2671, allocations: 11.92 kB / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.2671, allocations: 4 kB / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.969e-05/0.2671, allocations: 4 kB / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.055e-05/0.2672, allocations: 11.97 kB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.826e-05/0.2672, allocations: 7.938 kB / 1.222 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.506e-05/0.2673, allocations: 23.92 kB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.2673, allocations: 0 / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2673, allocations: 0 / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.2673, allocations: 0 / 1.222 GB, free: 12.46 MB / 0.9825 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.0003676/0.2677, allocations: 343.3 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.2677, allocations: 12.03 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.429e-05/0.2678, allocations: 110 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.844e-05/0.2679, allocations: 80.17 kB / 1.222 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.268, allocations: 239.7 kB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.13e-05/0.268, allocations: 154.9 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.059e-05/0.2681, allocations: 154.9 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.607e-05/0.2682, allocations: 105.5 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/0.2682, allocations: 79.22 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.434e-05/0.2682, allocations: 150.6 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.332e-05/0.2683, allocations: 158.6 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.69e-05/0.2683, allocations: 150.6 kB / 1.224 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002697/0.2686, allocations: 457.9 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.738e-05/0.2687, allocations: 165.1 kB / 1.224 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.848e-05/0.2687, allocations: 80.14 kB / 1.224 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.2688, allocations: 75.28 kB / 1.224 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/0.2688, allocations: 113.8 kB / 1.224 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.2688, allocations: 0 / 1.224 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.231e-05/0.2689, allocations: 37.58 kB / 1.224 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.2689, allocations: 130.7 kB / 1.225 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.269, allocations: 105.8 kB / 1.225 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.2691, allocations: 25.7 kB / 1.225 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.212e-05/0.2691, allocations: 80.14 kB / 1.225 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.345e-06/0.2691, allocations: 4 kB / 1.225 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.774e-05/0.2692, allocations: 21.67 kB / 1.225 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.178e-05/0.2693, allocations: 318.8 kB / 1.225 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.676e-05/0.2693, allocations: 4 kB / 1.225 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.452e-05/0.2693, allocations: 4 kB / 1.225 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.292e-05/0.2693, allocations: 17.09 kB / 1.225 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.2693, allocations: 0 / 1.225 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001011/0.2695, allocations: 53.73 kB / 1.225 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.2695, allocations: 7.938 kB / 1.225 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.2695, allocations: 3.984 kB / 1.225 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/0.2695, allocations: 0 / 1.225 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.365e-06/0.2695, allocations: 0 / 1.225 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.2695, allocations: 7.938 kB / 1.225 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.2696, allocations: 0 / 1.225 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.2697, allocations: 0 / 1.225 GB, free: 8.84 MB / 0.9825 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.0001449/0.2698, allocations: 189.6 kB / 1.225 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.921e-05/0.2699, allocations: 112.9 kB / 1.225 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.276e-05/0.2699, allocations: 112.5 kB / 1.226 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001239/0.2701, allocations: 176.3 kB / 1.226 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.376e-05/0.2701, allocations: 188.3 kB / 1.226 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.186e-05/0.2702, allocations: 176.3 kB / 1.226 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002154/0.2704, allocations: 409.2 kB / 1.226 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.441e-05/0.2705, allocations: 104.9 kB / 1.227 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.365e-05/0.2705, allocations: 109 kB / 1.227 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.452e-05/0.2706, allocations: 184.1 kB / 1.227 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001355/0.2707, allocations: 180.3 kB / 1.227 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-05/0.2708, allocations: 176.3 kB / 1.227 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-05/0.2709, allocations: 188.2 kB / 1.227 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/0.2711, allocations: 307.8 kB / 1.228 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.324e-05/0.2712, allocations: 182 kB / 1.228 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.179e-05/0.2713, allocations: 180.2 kB / 1.228 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.958e-05/0.2714, allocations: 120.9 kB / 1.228 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.211e-05/0.2714, allocations: 176.3 kB / 1.228 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.752e-05/0.2715, allocations: 104.9 kB / 1.228 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.227e-05/0.2715, allocations: 79.28 kB / 1.228 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2715, allocations: 0 / 1.228 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002658/0.2718, allocations: 7.938 kB / 1.228 GB, free: 5.223 MB / 0.9825 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.0005079/0.2723, allocations: 0.8335 MB / 1.229 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.285e-05/0.2724, allocations: 11.94 kB / 1.229 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2724, allocations: 0 / 1.229 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.2724, allocations: 0 / 1.229 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.2728, allocations: 463.7 kB / 1.23 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.2738, allocations: 1.29 MB / 1.231 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000268/0.2741, allocations: 0.6729 MB / 1.232 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.917e-05/0.2741, allocations: 4 kB / 1.232 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.967e-05/0.2741, allocations: 11.38 kB / 1.232 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.2741, allocations: 0 / 1.232 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01873/0.2929, allocations: 1.326 MB / 1.233 GB, free: 0.6719 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.117/7.41, allocations: 8.641 kB / 1.233 GB, free: 0.668 MB / 0.9825 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.csv","/var/lib/jenkins1/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