Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.ConvertTimePositiveStart,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",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.001189/0.001189, 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.001154/0.001154, allocations: 195.3 kB / 16.54 MB, free: 6.672 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.197/1.197, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.069/2.069, allocations: 390.2 MB / 0.6647 GB, free: 404 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 71.89 kB / 0.8127 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4895/0.4907, allocations: 140.3 MB / 0.9497 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002017/0.4928, allocations: 1.454 MB / 0.9511 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003232/0.4931, allocations: 188.9 kB / 0.9513 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.056e-05/0.4931, allocations: 0 / 0.9513 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.045e-05/0.4932, allocations: 0 / 0.9513 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000168/0.4934, allocations: 30.75 kB / 0.9514 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001433/0.4935, allocations: 46.84 kB / 0.9514 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.998e-05/0.4936, allocations: 57.89 kB / 0.9515 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.173e-05/0.4937, allocations: 10.56 kB / 0.9515 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.212e-05/0.4937, allocations: 24.36 kB / 0.9515 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.746e-05/0.4938, allocations: 22.12 kB / 0.9515 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.4938, allocations: 4.562 kB / 0.9515 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.588e-05/0.4938, allocations: 3.656 kB / 0.9515 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.013e-05/0.4938, allocations: 10.89 kB / 0.9515 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.653e-05/0.4939, allocations: 26.92 kB / 0.9516 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.21e-05/0.494, allocations: 51.3 kB / 0.9516 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.494, allocations: 4 kB / 0.9516 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.132e-06/0.494, allocations: 4 kB / 0.9516 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.494, allocations: 0 / 0.9516 GB, free: 7.688 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003511/0.4943, allocations: 348.8 kB / 0.9519 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.825e-05/0.4944, allocations: 13.5 kB / 0.952 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.505e-05/0.4944, allocations: 39.97 kB / 0.952 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.743e-05/0.4944, allocations: 7.406 kB / 0.952 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.071e-05/0.4945, allocations: 164 kB / 0.9522 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.4945, allocations: 1.594 kB / 0.9522 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.4945, allocations: 5.797 kB / 0.9522 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.4946, allocations: 79.19 kB / 0.9522 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.4947, allocations: 3.938 kB / 0.9522 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.4947, allocations: 1.125 kB / 0.9522 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.4947, allocations: 5.047 kB / 0.9522 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.632e-05/0.4947, allocations: 16.5 kB / 0.9523 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002377/0.495, allocations: 285.4 kB / 0.9525 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.151e-05/0.4951, allocations: 35.27 kB / 0.9526 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.874e-05/0.4951, allocations: 19.31 kB / 0.9526 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.951e-06/0.4951, allocations: 1.375 kB / 0.9526 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001065/0.4952, allocations: 62.05 kB / 0.9526 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.133e-06/0.4952, allocations: 1.281 kB / 0.9526 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001572/0.4954, allocations: 73.92 kB / 0.9527 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.4954, allocations: 104.2 kB / 0.9528 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.591e-05/0.4955, allocations: 110.4 kB / 0.9529 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.738e-06/0.4955, allocations: 25.7 kB / 0.9529 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.194e-05/0.4955, allocations: 86.66 kB / 0.953 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.493e-05/0.4955, allocations: 20.98 kB / 0.9531 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.249e-05/0.4956, allocations: 19.45 kB / 0.9531 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 2.893e-05/0.4956, allocations: 320.3 kB / 0.9534 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.539e-05/0.4956, allocations: 13.22 kB / 0.9534 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.865e-05/0.4957, allocations: 32.09 kB / 0.9534 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.331e-05/0.4957, allocations: 24.08 kB / 0.9534 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.4957, allocations: 4.656 kB / 0.9534 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.083e-05/0.4958, allocations: 60.59 kB / 0.9535 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.467e-06/0.4958, allocations: 5 kB / 0.9535 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.4958, allocations: 0 / 0.9535 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.4959, allocations: 1.469 kB / 0.9535 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.584e-05/0.4959, allocations: 16.73 kB / 0.9535 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.4959, allocations: 3.984 kB / 0.9535 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.998e-05/0.496, allocations: 11.14 kB / 0.9535 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.496, allocations: 1.031 kB / 0.9535 GB, free: 5.652 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: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 4.653e-05/0.4961, allocations: 117.6 kB / 0.9537 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.416e-05/0.4961, allocations: 6.406 kB / 0.9537 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.901e-05/0.4961, allocations: 4.562 kB / 0.9537 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.4961, allocations: 1.375 kB / 0.9537 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.4962, allocations: 7.938 kB / 0.9537 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-06/0.4962, allocations: 0 / 0.9537 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.826e-05/0.4962, allocations: 173.6 kB / 0.9538 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4962, allocations: 1.812 kB / 0.9538 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.028e-05/0.4963, allocations: 2.562 kB / 0.9538 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.4963, allocations: 0 / 0.9538 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.4963, allocations: 5.219 kB / 0.9538 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4963, allocations: 3.984 kB / 0.9539 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4963, allocations: 1.219 kB / 0.9539 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.726e-05/0.4964, allocations: 99.14 kB / 0.9539 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.239e-05/0.4964, allocations: 95.56 kB / 0.954 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.4965, allocations: 1.562 kB / 0.954 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.804e-05/0.4966, allocations: 8.641 kB / 0.954 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.301e-05/0.4966, allocations: 5.609 kB / 0.9541 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.4966, allocations: 2.719 kB / 0.9541 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.401e-05/0.4966, allocations: 83.94 kB / 0.9541 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.4966, allocations: 0 / 0.9541 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001811/0.4968, allocations: 10.38 kB / 0.9541 GB, free: 5.004 MB / 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: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002277/0.497, allocations: 0.6356 MB / 0.9548 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.489e-05/0.4972, allocations: 29.86 kB / 0.9548 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.4972, allocations: 0 / 0.9548 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.403e-05/0.4972, allocations: 17.61 kB / 0.9548 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001339/0.4973, allocations: 8.5 kB / 0.9548 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006517/0.498, allocations: 1.169 MB / 0.956 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.839e-05/0.4981, allocations: 0.6837 MB / 0.9566 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.784e-05/0.4981, allocations: 4.25 kB / 0.9566 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.77e-05/0.4981, allocations: 14.36 kB / 0.9566 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.4981, allocations: 96 / 0.9566 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01558/0.5137, allocations: 1.764 MB / 0.9584 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.434/6.948, allocations: 12.7 kB / 0.9584 GB, free: 1.57 MB / 0.7169 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.csv --start-time 4.71744e+07 --stop-time 1.26144e+08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 31587.8 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[505]=126144000.000000 File[4]=47192200.000000 Error: Could not read variable conTim.modTim in file Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.csv. Warning: Get data of variable conTim.modTim from file Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.csv failed! " Variables in the reference:time,conTim.modTim,conTim.calTim Variables in the result:time,conTim.calTimAux,conTim.modTimAux,conTim.weaDatEndTim,conTim.weaDatStaTim,conTim.calTim