Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.LocalCivilTime,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",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.008278/0.008278, allocations: 98.19 kB / 15.73 MB, free: 5.605 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.00222/0.002221, allocations: 199.7 kB / 16.67 MB, free: 5.531 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.702/2.702, allocations: 437 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 68.09 kB / 1.018 GB, free: 9.883 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6881/0.69, allocations: 151.6 MB / 1.166 GB, free: 3.727 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002568/0.6926, allocations: 1.472 MB / 1.168 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0007773/0.6934, allocations: 478.8 kB / 1.168 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.478e-05/0.6934, allocations: 3.938 kB / 1.168 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.693e-05/0.6934, allocations: 0 / 1.168 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002126/0.6937, allocations: 35.78 kB / 1.168 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 6.449e-05/0.6937, allocations: 7.984 kB / 1.168 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.812e-05/0.6939, allocations: 59.78 kB / 1.168 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 7.816e-05/0.6939, allocations: 8 kB / 1.168 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.964e-05/0.694, allocations: 23.91 kB / 1.168 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.467e-05/0.6941, allocations: 23.91 kB / 1.168 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.6941, allocations: 7.938 kB / 1.168 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.225e-05/0.6942, allocations: 4 kB / 1.168 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.991e-05/0.6942, allocations: 4 kB / 1.168 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.565e-05/0.6942, allocations: 23.92 kB / 1.168 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.73e-05/0.6943, allocations: 47.61 kB / 1.168 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.6943, allocations: 4 kB / 1.168 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6943, allocations: 0 / 1.168 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.716e-06/0.6944, allocations: 0 / 1.168 GB, free: 1.527 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.0005641/0.6949, allocations: 355.2 kB / 1.169 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.695, allocations: 8.922 kB / 1.169 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.942e-05/0.695, allocations: 38.69 kB / 1.169 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.481e-05/0.695, allocations: 4.938 kB / 1.169 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.6952, allocations: 172.3 kB / 1.169 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.6952, allocations: 4.375 kB / 1.169 GB, free: 0.8672 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.6952, allocations: 12.36 kB / 1.169 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.6954, allocations: 53.81 kB / 1.169 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.6954, allocations: 0 / 1.169 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.6954, allocations: 0 / 1.169 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/0.6954, allocations: 4 kB / 1.169 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.345e-05/0.6955, allocations: 15.98 kB / 1.169 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003659/0.6959, allocations: 272.8 kB / 1.169 GB, free: 472 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.696, allocations: 46.56 kB / 1.169 GB, free: 416 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.305e-05/0.696, allocations: 20.86 kB / 1.169 GB, free: 392 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.696, allocations: 4 kB / 1.169 GB, free: 388 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001527/0.6962, allocations: 67.38 kB / 1.169 GB, free: 308 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.6962, allocations: 0 / 1.169 GB, free: 308 kB / 0.8887 GB Notification: Performance of matching and sorting (n=5): time 0.0002218/0.6964, allocations: 77.67 kB / 1.169 GB, free: 224 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.6965, allocations: 51.41 kB / 1.169 GB, free: 160 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.6966, allocations: 121.8 kB / 1.17 GB, free: 28 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.369e-05/0.6966, allocations: 25.7 kB / 1.17 GB, free: 16 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.025e-05/0.6967, allocations: 88.14 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.6967, allocations: 15.83 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-05/0.6968, allocations: 21.66 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.6969, allocations: 318.8 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.53e-05/0.697, allocations: 15.98 kB / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.317e-05/0.697, allocations: 12 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.003e-05/0.6971, allocations: 40.73 kB / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.6971, allocations: 0 / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001124/0.6972, allocations: 65.64 kB / 1.17 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.6972, allocations: 4 kB / 1.17 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.6972, allocations: 0 / 1.17 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.6972, allocations: 0 / 1.17 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.757e-05/0.6973, allocations: 12.42 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.6973, allocations: 0 / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.126e-05/0.6974, allocations: 8 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.6974, allocations: 4 kB / 1.17 GB, free: 15.38 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 (locTim.tNext,$PRE.locTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.624e-05/0.6975, allocations: 125.7 kB / 1.17 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.524e-05/0.6975, allocations: 7.953 kB / 1.17 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.43e-05/0.6976, allocations: 7.969 kB / 1.17 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.6976, allocations: 0 / 1.17 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.6976, allocations: 0 / 1.17 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.6976, allocations: 0 / 1.17 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/0.6977, allocations: 173.6 kB / 1.17 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.6977, allocations: 0 / 1.17 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.77e-05/0.6978, allocations: 4 kB / 1.17 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.6978, allocations: 11.98 kB / 1.17 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.6978, allocations: 0 / 1.17 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.6978, allocations: 0 / 1.17 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.6978, allocations: 0 / 1.17 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.698, allocations: 101 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.8e-05/0.698, allocations: 85.06 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.6981, allocations: 0 / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.914e-05/0.6981, allocations: 4 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.825e-05/0.6982, allocations: 11.98 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.6982, allocations: 4 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.039e-05/0.6982, allocations: 87.27 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6982, allocations: 0 / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001903/0.6984, allocations: 12 kB / 1.171 GB, free: 14.65 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,locTim.tNext) * Number of discrete states: 1 (locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * 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.0004751/0.6989, allocations: 0.6281 MB / 1.171 GB, free: 14 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001185/0.6991, allocations: 39.92 kB / 1.171 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.6991, allocations: 0 / 1.171 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.799e-05/0.6991, allocations: 20.23 kB / 1.171 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/0.6993, allocations: 13 kB / 1.171 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.7005, allocations: 1.225 MB / 1.173 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.7008, allocations: 0.6845 MB / 1.173 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.869e-05/0.7009, allocations: 7.906 kB / 1.173 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.18e-05/0.7009, allocations: 21.05 kB / 1.173 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of SimCode: time 2.61e-07/0.7009, allocations: 0 / 1.173 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02156/0.7225, allocations: 1.523 MB / 1.175 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.363/9.085, allocations: 9.938 kB / 1.175 GB, free: 10.5 MB / 0.9044 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv --start-time 0 --stop-time 172800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches