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.006274/0.006274, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.00143/0.00143, allocations: 191.8 kB / 16.67 MB, free: 5.52 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.287/1.287, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.414/2.414, allocations: 437 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 67.83 kB / 1.018 GB, free: 9.891 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7843/0.7856, allocations: 151.6 MB / 1.166 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002891/0.7886, allocations: 1.461 MB / 1.168 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0004674/0.7891, allocations: 199.4 kB / 1.168 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.211e-05/0.7891, allocations: 0 / 1.168 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.67e-05/0.7892, allocations: 3.938 kB / 1.168 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002462/0.7895, allocations: 23.84 kB / 1.168 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002317/0.7897, allocations: 57.36 kB / 1.168 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.7898, allocations: 55.84 kB / 1.168 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.973e-05/0.7899, allocations: 7.984 kB / 1.168 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.748e-05/0.79, allocations: 27.92 kB / 1.168 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.278e-05/0.7901, allocations: 19.92 kB / 1.168 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.7901, allocations: 4 kB / 1.168 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.702e-05/0.7901, allocations: 4 kB / 1.168 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.809e-05/0.7902, allocations: 15.97 kB / 1.168 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.819e-05/0.7902, allocations: 27.86 kB / 1.168 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.7903, allocations: 46.11 kB / 1.168 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.7904, allocations: 0 / 1.168 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.754e-06/0.7904, allocations: 0 / 1.168 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.338e-06/0.7904, allocations: 0 / 1.168 GB, free: 1.836 MB / 0.8887 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.0005396/0.7909, allocations: 355.4 kB / 1.168 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.791, allocations: 12.03 kB / 1.168 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.637e-05/0.791, allocations: 30.75 kB / 1.168 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.812e-05/0.7911, allocations: 4.938 kB / 1.168 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.7912, allocations: 172.2 kB / 1.169 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.7912, allocations: 4.375 kB / 1.169 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.7913, allocations: 384 / 1.169 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.7914, allocations: 80.81 kB / 1.169 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.7914, allocations: 3.938 kB / 1.169 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.7915, allocations: 3.984 kB / 1.169 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/0.7915, allocations: 3.984 kB / 1.169 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.473e-05/0.7915, allocations: 19.94 kB / 1.169 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003847/0.7919, allocations: 276.8 kB / 1.169 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 9.595e-05/0.792, allocations: 30.58 kB / 1.169 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.567e-05/0.7921, allocations: 20.94 kB / 1.169 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.7921, allocations: 4 kB / 1.169 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001975/0.7923, allocations: 63.33 kB / 1.169 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.382e-06/0.7923, allocations: 4 kB / 1.169 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0002202/0.7925, allocations: 73.58 kB / 1.169 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.843e-05/0.7926, allocations: 102.8 kB / 1.169 GB, free: 388 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.61e-05/0.7927, allocations: 113.8 kB / 1.169 GB, free: 264 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.7928, allocations: 29.7 kB / 1.169 GB, free: 228 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.583e-05/0.7928, allocations: 84.14 kB / 1.169 GB, free: 140 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.7928, allocations: 7.844 kB / 1.169 GB, free: 132 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.734e-05/0.7929, allocations: 29.61 kB / 1.17 GB, free: 96 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.793, allocations: 318.8 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.131e-05/0.7931, allocations: 15.88 kB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.011e-05/0.7931, allocations: 34.56 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.383e-05/0.7932, allocations: 32.88 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.7932, allocations: 0 / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001033/0.7933, allocations: 53.7 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.7933, allocations: 8 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.7933, allocations: 0 / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.7934, allocations: 3.984 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.473e-05/0.7934, allocations: 7.938 kB / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.7934, allocations: 0 / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.7936, allocations: 11.98 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.7936, allocations: 4 kB / 1.17 GB, free: 15.59 MB / 0.9044 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 9.763e-05/0.7937, allocations: 117.8 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.641e-05/0.7937, allocations: 4 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.244e-05/0.7937, allocations: 3.5 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.7937, allocations: 0 / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.7937, allocations: 0 / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.7938, allocations: 3.984 kB / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/0.7939, allocations: 173.5 kB / 1.17 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.7939, allocations: 0 / 1.17 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.469e-05/0.7939, allocations: 8.438 kB / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.7939, allocations: 0 / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.794, allocations: 3.984 kB / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.794, allocations: 8 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.794, allocations: 0 / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.7941, allocations: 89 kB / 1.17 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.754e-05/0.7942, allocations: 93.03 kB / 1.17 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.7942, allocations: 0 / 1.17 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.923e-05/0.7943, allocations: 11.98 kB / 1.17 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.7944, allocations: 8.219 kB / 1.17 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.7944, allocations: 0 / 1.17 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.039e-05/0.7944, allocations: 87.28 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.443e-06/0.7944, allocations: 0 / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000193/0.7946, allocations: 11.94 kB / 1.171 GB, free: 14.87 MB / 0.9044 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.0004328/0.7951, allocations: 0.6397 MB / 1.171 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001334/0.7952, allocations: 35.92 kB / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7952, allocations: 0 / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.748e-05/0.7953, allocations: 15.98 kB / 1.171 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.7954, allocations: 6.344 kB / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.7966, allocations: 1.177 MB / 1.172 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/0.7968, allocations: 0.6807 MB / 1.173 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.753e-05/0.7969, allocations: 8.25 kB / 1.173 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.262e-05/0.7969, allocations: 15.42 kB / 1.173 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of SimCode: time 3.01e-07/0.7969, allocations: 0 / 1.173 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01805/0.815, allocations: 1.79 MB / 1.175 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.157/7.972, allocations: 9.625 kB / 1.175 GB, free: 10.55 MB / 0.9044 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart_fmu --startTime=4.71744e+07 --stopTime=1.26144e+08 --timeout=50 --tolerance=1e-06 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.mat","/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) "" Variables in the reference:time,conTim.modTim,conTim.calTim Variables in the result:conTim.calTim,conTim.calTimAux,conTim.modTim,conTim.modTimAux,conTim.weaDatEndTim,conTim.weaDatStaTim,modTim.y,time