Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.ConvertTime,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",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.008244/0.008244, allocations: 99 kB / 15.73 MB, free: 6.008 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.001879/0.001879, allocations: 196.2 kB / 16.67 MB, free: 5.934 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.493/2.493, allocations: 437 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 67.89 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2599, allocations: 151.6 MB / 1.166 GB, free: 7.285 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002813/0.2628, allocations: 1.453 MB / 1.168 GB, free: 5.816 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0004714/0.2633, allocations: 198.7 kB / 1.168 GB, free: 5.625 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.162e-05/0.2634, allocations: 0 / 1.168 GB, free: 5.625 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.537e-05/0.2634, allocations: 3.938 kB / 1.168 GB, free: 5.621 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002544/0.2637, allocations: 23.86 kB / 1.168 GB, free: 5.598 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002292/0.2639, allocations: 55.91 kB / 1.168 GB, free: 5.543 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.2641, allocations: 51.84 kB / 1.168 GB, free: 5.492 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.887e-05/0.2642, allocations: 12 kB / 1.168 GB, free: 5.48 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.076e-05/0.2643, allocations: 23.92 kB / 1.168 GB, free: 5.457 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.221e-05/0.2643, allocations: 27.84 kB / 1.168 GB, free: 5.43 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.2644, allocations: 4 kB / 1.168 GB, free: 5.426 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.577e-05/0.2644, allocations: 4 kB / 1.168 GB, free: 5.422 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.615e-05/0.2644, allocations: 11.98 kB / 1.168 GB, free: 5.41 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.673e-05/0.2645, allocations: 19.92 kB / 1.168 GB, free: 5.391 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001155/0.2646, allocations: 52.08 kB / 1.168 GB, free: 5.34 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2646, allocations: 0 / 1.168 GB, free: 5.34 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.484e-06/0.2646, allocations: 4 kB / 1.168 GB, free: 5.336 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.2646, allocations: 7.938 kB / 1.168 GB, free: 5.328 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.0005007/0.2651, allocations: 353.4 kB / 1.168 GB, free: 4.934 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.2652, allocations: 8.031 kB / 1.168 GB, free: 4.926 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.545e-05/0.2652, allocations: 38.75 kB / 1.168 GB, free: 4.879 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.996e-05/0.2653, allocations: 0.9375 kB / 1.168 GB, free: 4.879 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.2654, allocations: 168.3 kB / 1.169 GB, free: 4.676 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.2654, allocations: 384 / 1.169 GB, free: 4.676 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.2654, allocations: 4.375 kB / 1.169 GB, free: 4.672 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.2656, allocations: 80.75 kB / 1.169 GB, free: 4.578 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.2656, allocations: 3.938 kB / 1.169 GB, free: 4.574 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.2656, allocations: 7.984 kB / 1.169 GB, free: 4.566 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.2656, allocations: 0 / 1.169 GB, free: 4.566 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.698e-05/0.2657, allocations: 12 kB / 1.169 GB, free: 4.555 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003422/0.266, allocations: 284.8 kB / 1.169 GB, free: 4.227 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.2661, allocations: 38.58 kB / 1.169 GB, free: 4.18 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.797e-05/0.2662, allocations: 20.94 kB / 1.169 GB, free: 4.156 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.2662, allocations: 0 / 1.169 GB, free: 4.156 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001688/0.2664, allocations: 59.39 kB / 1.169 GB, free: 4.086 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 2.825e-06/0.2664, allocations: 3.984 kB / 1.169 GB, free: 4.082 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0002101/0.2666, allocations: 77.55 kB / 1.169 GB, free: 4 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.994e-05/0.2667, allocations: 110.8 kB / 1.169 GB, free: 3.867 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.974e-05/0.2668, allocations: 105.9 kB / 1.169 GB, free: 3.754 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.2668, allocations: 29.69 kB / 1.169 GB, free: 3.719 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.235e-05/0.2669, allocations: 84.09 kB / 1.169 GB, free: 3.633 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.2669, allocations: 15.94 kB / 1.17 GB, free: 3.617 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.574e-05/0.2669, allocations: 21.7 kB / 1.17 GB, free: 3.59 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.2671, allocations: 314.8 kB / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.979e-05/0.2671, allocations: 12 kB / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.655e-05/0.2672, allocations: 34.56 kB / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.173e-05/0.2672, allocations: 28.8 kB / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2672, allocations: 0 / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001039/0.2673, allocations: 65.64 kB / 1.17 GB, free: 3.117 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.2674, allocations: 4 kB / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.2674, allocations: 0 / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.2674, allocations: 3.938 kB / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.949e-05/0.2675, allocations: 11.98 kB / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.2675, allocations: 0 / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.2676, allocations: 12.02 kB / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.2676, allocations: 4 kB / 1.17 GB, free: 3.082 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 8.462e-05/0.2677, allocations: 117.8 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.537e-05/0.2677, allocations: 0 / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.908e-05/0.2677, allocations: 7.438 kB / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2677, allocations: 0 / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2677, allocations: 4.438 kB / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.2678, allocations: 0 / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.2679, allocations: 181.5 kB / 1.17 GB, free: 2.715 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.2679, allocations: 4 kB / 1.17 GB, free: 2.711 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.279e-05/0.2679, allocations: 4 kB / 1.17 GB, free: 2.707 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2679, allocations: 0 / 1.17 GB, free: 2.707 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.2679, allocations: 0 / 1.17 GB, free: 2.707 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.2679, allocations: 3.984 kB / 1.17 GB, free: 2.703 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.2679, allocations: 0 / 1.17 GB, free: 2.703 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.2681, allocations: 93.02 kB / 1.17 GB, free: 2.594 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.014e-05/0.2681, allocations: 85.09 kB / 1.17 GB, free: 2.492 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.889e-05/0.2682, allocations: 8 kB / 1.17 GB, free: 2.484 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.2683, allocations: 7.984 kB / 1.17 GB, free: 2.477 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.197e-05/0.2683, allocations: 7.984 kB / 1.171 GB, free: 2.469 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.2683, allocations: 0 / 1.171 GB, free: 2.469 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.947e-05/0.2684, allocations: 87.22 kB / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2684, allocations: 0 / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001946/0.2686, allocations: 16 kB / 1.171 GB, free: 2.367 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.0004047/0.269, allocations: 0.6358 MB / 1.171 GB, free: 1.699 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001118/0.2691, allocations: 35.92 kB / 1.171 GB, free: 1.664 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.2691, allocations: 0 / 1.171 GB, free: 1.664 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.094e-05/0.2692, allocations: 16.27 kB / 1.171 GB, free: 1.648 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/0.2693, allocations: 4 kB / 1.171 GB, free: 1.645 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009777/0.2703, allocations: 1.165 MB / 1.172 GB, free: 408 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/0.2706, allocations: 0.6846 MB / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.873e-05/0.2706, allocations: 7.984 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.641e-05/0.2706, allocations: 23.36 kB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.2706, allocations: 0 / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0168/0.2874, allocations: 1.77 MB / 1.175 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.23/7.518, allocations: 15.72 kB / 1.175 GB, free: 14.02 MB / 0.9356 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv --start-time 0 --stop-time 7.776e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 31104 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches