Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="Buildings_9_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.001203/0.001203, allocations: 108 kB / 15.6 MB, free: 132 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.001226/0.001226, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.181/1.181, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.06/2.06, allocations: 390.2 MB / 0.6647 GB, free: 488 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001214, allocations: 71.89 kB / 0.8127 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4928/0.494, allocations: 140.4 MB / 0.9497 GB, free: 9.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.001846/0.4959, allocations: 1.26 MB / 0.951 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007041/0.4966, allocations: 0.7373 MB / 0.9517 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.205e-05/0.4967, allocations: 4 kB / 0.9517 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.148e-05/0.4967, allocations: 0 / 0.9517 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001721/0.4969, allocations: 11.3 kB / 0.9517 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001677/0.4971, allocations: 46.22 kB / 0.9517 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.361e-05/0.4971, allocations: 27.75 kB / 0.9518 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.524e-05/0.4972, allocations: 1.219 kB / 0.9518 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.498e-05/0.4972, allocations: 18.98 kB / 0.9518 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.4973, allocations: 13.67 kB / 0.9518 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.4973, allocations: 0 / 0.9518 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.277e-05/0.4974, allocations: 13.78 kB / 0.9518 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.751e-05/0.4974, allocations: 8.047 kB / 0.9518 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.623e-05/0.4975, allocations: 9.984 kB / 0.9518 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.385e-05/0.4975, allocations: 18.11 kB / 0.9518 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.4976, allocations: 0 / 0.9518 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.32e-07/0.4976, allocations: 0 / 0.9518 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.4976, allocations: 1.312 kB / 0.9518 GB, free: 7.379 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.0002119/0.4978, allocations: 330.4 kB / 0.9522 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.4978, allocations: 9.25 kB / 0.9522 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.279e-05/0.4978, allocations: 114 kB / 0.9523 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.36e-05/0.4979, allocations: 77.62 kB / 0.9523 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.456e-05/0.498, allocations: 253.1 kB / 0.9526 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.498, allocations: 156.4 kB / 0.9527 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.498, allocations: 150.9 kB / 0.9529 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 2.874e-05/0.498, allocations: 102.6 kB / 0.953 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.4981, allocations: 83.22 kB / 0.9531 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.4981, allocations: 155.7 kB / 0.9532 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/0.4981, allocations: 150.6 kB / 0.9534 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.674e-05/0.4981, allocations: 155.5 kB / 0.9535 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001487/0.4983, allocations: 452.9 kB / 0.9539 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.996e-05/0.4983, allocations: 170.8 kB / 0.9541 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.225e-05/0.4983, allocations: 80.14 kB / 0.9542 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.434e-06/0.4983, allocations: 80.59 kB / 0.9542 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.56e-05/0.4984, allocations: 105.8 kB / 0.9543 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.4984, allocations: 1.344 kB / 0.9544 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.426e-05/0.4984, allocations: 38.89 kB / 0.9544 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.193e-05/0.4984, allocations: 130.7 kB / 0.9545 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.734e-05/0.4985, allocations: 106.3 kB / 0.9546 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.735e-06/0.4985, allocations: 29.69 kB / 0.9546 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.707e-05/0.4986, allocations: 81.52 kB / 0.9547 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-06/0.4986, allocations: 0 / 0.9547 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.523e-05/0.4986, allocations: 15.31 kB / 0.9547 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 2.968e-05/0.4986, allocations: 310.8 kB / 0.955 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.485e-05/0.4986, allocations: 16.2 kB / 0.955 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.217e-05/0.4987, allocations: 5.438 kB / 0.9551 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.458e-05/0.4987, allocations: 16.31 kB / 0.9551 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.4987, allocations: 1.375 kB / 0.9551 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.196e-05/0.4988, allocations: 40.3 kB / 0.9551 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.4988, allocations: 8.75 kB / 0.9551 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.4988, allocations: 3.984 kB / 0.9551 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.4988, allocations: 0 / 0.9551 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.91e-07/0.4988, allocations: 5.25 kB / 0.9551 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-06/0.4988, allocations: 0 / 0.9551 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.4989, allocations: 10.77 kB / 0.9551 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.499, allocations: 1.406 kB / 0.9551 GB, free: 3.844 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 (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 4.334e-05/0.499, allocations: 182.5 kB / 0.9553 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.321e-05/0.499, allocations: 110.4 kB / 0.9554 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.929e-05/0.4991, allocations: 119.2 kB / 0.9555 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/0.4991, allocations: 181.8 kB / 0.9557 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.949e-05/0.4991, allocations: 188.5 kB / 0.9559 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.569e-05/0.4991, allocations: 177.3 kB / 0.9561 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.4992, allocations: 409.8 kB / 0.9564 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/0.4993, allocations: 108.9 kB / 0.9565 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.027e-05/0.4993, allocations: 106.5 kB / 0.9566 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.648e-05/0.4993, allocations: 184.1 kB / 0.9568 GB, free: 2 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.4993, allocations: 182 kB / 0.957 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.589e-05/0.4993, allocations: 176.3 kB / 0.9572 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.712e-05/0.4994, allocations: 182 kB / 0.9573 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.667e-05/0.4994, allocations: 312.6 kB / 0.9576 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.901e-05/0.4994, allocations: 186.1 kB / 0.9578 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.4995, allocations: 182.9 kB / 0.958 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.969e-05/0.4995, allocations: 104.9 kB / 0.9581 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.063e-05/0.4996, allocations: 181.5 kB / 0.9583 GB, free: 456 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.4996, allocations: 114.2 kB / 0.9584 GB, free: 336 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.251e-05/0.4996, allocations: 79.66 kB / 0.9584 GB, free: 260 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4996, allocations: 1.562 kB / 0.9584 GB, free: 260 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002176/0.4998, allocations: 2.844 kB / 0.9584 GB, free: 260 kB / 0.7169 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.0003609/0.5002, allocations: 0.8275 MB / 0.9593 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 5.497e-05/0.5002, allocations: 8.656 kB / 0.9593 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5003, allocations: 4 kB / 0.9593 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.5003, allocations: 0 / 0.9593 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.5006, allocations: 454 kB / 0.9597 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008057/0.5014, allocations: 1.3 MB / 0.961 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001865/0.5016, allocations: 0.6797 MB / 0.9616 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.347e-05/0.5016, allocations: 2.281 kB / 0.9616 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.712e-05/0.5016, allocations: 8.625 kB / 0.9616 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of SimCode: time 3.8e-07/0.5016, allocations: 0 / 0.9616 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0149/0.5165, allocations: 1.297 MB / 0.9629 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.492/7.008, allocations: 10.61 kB / 0.9629 GB, free: 12.24 MB / 0.7325 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches