Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_10_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.00107/0.00107, allocations: 108.6 kB / 15.73 MB, free: 72 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.001067/0.001067, allocations: 183 kB / 16.66 MB, free: 6.602 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.306/1.306, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.516/2.516, allocations: 437 MB / 0.7105 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 63.89 kB / 1.018 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2419, allocations: 151.6 MB / 1.166 GB, free: 7.246 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002379/0.2444, allocations: 1.447 MB / 1.168 GB, free: 5.781 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.000436/0.2448, allocations: 187.4 kB / 1.168 GB, free: 5.598 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.367e-05/0.2449, allocations: 0 / 1.168 GB, free: 5.598 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.523e-05/0.2449, allocations: 7.938 kB / 1.168 GB, free: 5.59 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002282/0.2452, allocations: 27.84 kB / 1.168 GB, free: 5.562 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002041/0.2454, allocations: 51.8 kB / 1.168 GB, free: 5.516 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.2455, allocations: 59.83 kB / 1.168 GB, free: 5.457 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.798e-05/0.2456, allocations: 7.984 kB / 1.168 GB, free: 5.449 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.412e-05/0.2457, allocations: 35.84 kB / 1.168 GB, free: 5.414 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.841e-05/0.2457, allocations: 23.92 kB / 1.168 GB, free: 5.391 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.2458, allocations: 4 kB / 1.168 GB, free: 5.387 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.393e-05/0.2458, allocations: 4 kB / 1.168 GB, free: 5.383 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.719e-05/0.2458, allocations: 15.92 kB / 1.168 GB, free: 5.367 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.986e-05/0.2459, allocations: 23.86 kB / 1.168 GB, free: 5.344 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001103/0.246, allocations: 48.09 kB / 1.168 GB, free: 5.297 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.246, allocations: 0 / 1.168 GB, free: 5.297 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.734e-06/0.246, allocations: 0 / 1.168 GB, free: 5.297 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.246, allocations: 3.984 kB / 1.168 GB, free: 5.293 MB / 0.92 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.0005276/0.2466, allocations: 355.3 kB / 1.168 GB, free: 4.895 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.2466, allocations: 12.03 kB / 1.168 GB, free: 4.883 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.762e-05/0.2466, allocations: 30.75 kB / 1.168 GB, free: 4.844 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.182e-05/0.2467, allocations: 0.9375 kB / 1.168 GB, free: 4.844 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.2468, allocations: 176.3 kB / 1.169 GB, free: 4.633 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.2468, allocations: 4.375 kB / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.2469, allocations: 384 / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.247, allocations: 80.75 kB / 1.169 GB, free: 4.535 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.247, allocations: 3.938 kB / 1.169 GB, free: 4.531 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.247, allocations: 4 kB / 1.169 GB, free: 4.527 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.2471, allocations: 0 / 1.169 GB, free: 4.527 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.871e-05/0.2471, allocations: 15.98 kB / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003608/0.2475, allocations: 272.8 kB / 1.169 GB, free: 4.195 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.663e-05/0.2476, allocations: 46.5 kB / 1.169 GB, free: 4.141 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.254e-05/0.2476, allocations: 16.86 kB / 1.169 GB, free: 4.121 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-06/0.2477, allocations: 0 / 1.169 GB, free: 4.121 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001566/0.2478, allocations: 63.48 kB / 1.169 GB, free: 4.047 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.2478, allocations: 0 / 1.169 GB, free: 4.047 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0001947/0.248, allocations: 77.61 kB / 1.169 GB, free: 3.965 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/0.2481, allocations: 102.8 kB / 1.169 GB, free: 3.84 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.577e-05/0.2482, allocations: 105.8 kB / 1.169 GB, free: 3.727 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.2482, allocations: 29.7 kB / 1.169 GB, free: 3.691 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.045e-05/0.2482, allocations: 88.09 kB / 1.169 GB, free: 3.602 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-05/0.2483, allocations: 11.94 kB / 1.169 GB, free: 3.59 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/0.2483, allocations: 17.72 kB / 1.17 GB, free: 3.566 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.2484, allocations: 326.8 kB / 1.17 GB, free: 3.238 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.866e-05/0.2485, allocations: 8 kB / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.117e-05/0.2485, allocations: 34.56 kB / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.941e-05/0.2486, allocations: 29.2 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.2486, allocations: 0 / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001081/0.2487, allocations: 69.58 kB / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.2487, allocations: 7.938 kB / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.2487, allocations: 0 / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.2487, allocations: 4 kB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.438e-05/0.2488, allocations: 8 kB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.2488, allocations: 0 / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.2489, allocations: 7.984 kB / 1.17 GB, free: 3.055 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.2489, allocations: 4 kB / 1.17 GB, free: 3.051 MB / 0.92 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 7.895e-05/0.249, allocations: 129.8 kB / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.413e-05/0.2491, allocations: 0 / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.818e-05/0.2491, allocations: 3.5 kB / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.2491, allocations: 4.188 kB / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.2491, allocations: 0 / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.2491, allocations: 3.984 kB / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.2492, allocations: 177.5 kB / 1.17 GB, free: 2.676 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.2492, allocations: 0 / 1.17 GB, free: 2.676 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.318e-05/0.2493, allocations: 7.938 kB / 1.17 GB, free: 2.668 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2493, allocations: 4 kB / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.2493, allocations: 0 / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2493, allocations: 0 / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2493, allocations: 0 / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001373/0.2494, allocations: 97 kB / 1.17 GB, free: 2.551 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.379e-05/0.2495, allocations: 85.09 kB / 1.17 GB, free: 2.449 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.183e-05/0.2495, allocations: 4 kB / 1.17 GB, free: 2.445 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.2496, allocations: 13.7 kB / 1.17 GB, free: 2.434 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.229e-05/0.2497, allocations: 4 kB / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.2497, allocations: 0 / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.6e-05/0.2498, allocations: 91.33 kB / 1.171 GB, free: 2.34 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2498, allocations: 0 / 1.171 GB, free: 2.34 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001974/0.25, allocations: 12 kB / 1.171 GB, free: 2.328 MB / 0.92 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.0004183/0.2504, allocations: 0.6436 MB / 1.171 GB, free: 1.652 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001114/0.2505, allocations: 27.98 kB / 1.171 GB, free: 1.625 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2505, allocations: 0 / 1.171 GB, free: 1.625 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.542e-05/0.2506, allocations: 19.94 kB / 1.171 GB, free: 1.605 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.2507, allocations: 3.938 kB / 1.171 GB, free: 1.602 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009865/0.2517, allocations: 1.176 MB / 1.172 GB, free: 352 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/0.252, allocations: 0.6768 MB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.454e-05/0.252, allocations: 8 kB / 1.173 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.236e-05/0.252, allocations: 11.44 kB / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.252, allocations: 0 / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01597/0.268, allocations: 1.788 MB / 1.175 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.253/7.521, allocations: 5.891 kB / 1.175 GB, free: 14.02 MB / 0.9356 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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[2]=47192200.000000 Error: Could not read variable conTim.modTim in file Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.csv. Warning: Get data of variable conTim.modTim from file Buildings_10_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