Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.ConvertTimePositiveStart,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_latest_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.004513/0.004513, allocations: 96.53 kB / 15.73 MB, free: 6.043 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.001115/0.001115, allocations: 196.6 kB / 16.67 MB, free: 5.969 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.693/2.693, allocations: 469.4 MB / 0.7422 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 64.09 kB / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2635, allocations: 159.1 MB / 1.22 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002481/0.266, allocations: 1.459 MB / 1.221 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004/0.2664, allocations: 183.4 kB / 1.221 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.965e-05/0.2665, allocations: 4 kB / 1.221 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.709e-05/0.2665, allocations: 3.984 kB / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001987/0.2667, allocations: 19.88 kB / 1.221 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001959/0.2669, allocations: 59.83 kB / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.267, allocations: 63.77 kB / 1.222 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.576e-05/0.2671, allocations: 4 kB / 1.222 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.573e-05/0.2672, allocations: 23.98 kB / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.085e-05/0.2672, allocations: 23.91 kB / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.2673, allocations: 4 kB / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.283e-05/0.2673, allocations: 4 kB / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.733e-05/0.2673, allocations: 15.92 kB / 1.222 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.711e-05/0.2674, allocations: 23.92 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.2675, allocations: 51.8 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.2675, allocations: 0 / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2675, allocations: 0 / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.2675, allocations: 0 / 1.222 GB, free: 12.7 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005086/0.268, allocations: 351.3 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.2681, allocations: 12.03 kB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.572e-05/0.2681, allocations: 38.67 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.217e-05/0.2681, allocations: 4.938 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.2683, allocations: 168.3 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.2683, allocations: 8.375 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.2683, allocations: 384 / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.2685, allocations: 72.81 kB / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-06/0.2685, allocations: 3.938 kB / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.2685, allocations: 4 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.2685, allocations: 0 / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.68e-05/0.2686, allocations: 31.86 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003441/0.2689, allocations: 272.9 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.29e-05/0.269, allocations: 34.58 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.476e-05/0.2691, allocations: 16.94 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.2691, allocations: 7.938 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001531/0.2692, allocations: 67.33 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.332e-06/0.2692, allocations: 0 / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002001/0.2695, allocations: 77.62 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.15e-05/0.2695, allocations: 102.8 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.121e-05/0.2696, allocations: 101.9 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.2696, allocations: 25.7 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.08e-05/0.2697, allocations: 100 kB / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.2697, allocations: 7.938 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.437e-05/0.2698, allocations: 25.7 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.924e-05/0.2699, allocations: 322.8 kB / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.958e-05/0.2699, allocations: 8 kB / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.797e-05/0.27, allocations: 34.56 kB / 1.223 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.201e-05/0.27, allocations: 24.86 kB / 1.223 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.27, allocations: 0 / 1.223 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001022/0.2701, allocations: 57.64 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.2701, allocations: 9.875 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.2702, allocations: 0 / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.2702, allocations: 7.969 kB / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.825e-05/0.2702, allocations: 7.984 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.2703, allocations: 0 / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.2704, allocations: 15.98 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.2704, allocations: 448 / 1.224 GB, free: 10.45 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: 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 8.841e-05/0.2705, allocations: 118.3 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.556e-05/0.2705, allocations: 192 / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.015e-05/0.2705, allocations: 11.48 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.2705, allocations: 4 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.2706, allocations: 4 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2706, allocations: 0 / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.2707, allocations: 177.5 kB / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2707, allocations: 0 / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.465e-05/0.2707, allocations: 4 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.2707, allocations: 0 / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.2708, allocations: 0 / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.2708, allocations: 0 / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.2708, allocations: 7.938 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.2709, allocations: 96.98 kB / 1.224 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.385e-05/0.271, allocations: 89.03 kB / 1.224 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.271, allocations: 4 kB / 1.224 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.2711, allocations: 7.984 kB / 1.224 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.728e-05/0.2712, allocations: 4 kB / 1.224 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.2712, allocations: 3.984 kB / 1.224 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.72e-05/0.2712, allocations: 87.28 kB / 1.224 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2712, allocations: 0 / 1.224 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002019/0.2714, allocations: 12 kB / 1.224 GB, free: 9.73 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: 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.0003947/0.2718, allocations: 0.6358 MB / 1.225 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001118/0.272, allocations: 27.98 kB / 1.225 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.272, allocations: 0 / 1.225 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.214e-05/0.272, allocations: 16 kB / 1.225 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.2722, allocations: 11.92 kB / 1.225 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.2732, allocations: 1.184 MB / 1.226 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002178/0.2734, allocations: 0.6768 MB / 1.227 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.645e-05/0.2735, allocations: 4 kB / 1.227 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.907e-05/0.2735, allocations: 15.42 kB / 1.227 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of SimCode: time 2.31e-07/0.2735, allocations: 0 / 1.227 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01793/0.2915, allocations: 1.805 MB / 1.228 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.236/7.528, allocations: 6.375 kB / 1.228 GB, free: 5.398 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.csv. Warning: Get data of variable conTim.modTim from file Buildings_latest_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