Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_9_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.001227/0.001227, allocations: 108 kB / 15.6 MB, free: 132 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.001191/0.001191, allocations: 195.6 kB / 16.54 MB, free: 6.672 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.167/1.167, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.065/2.065, allocations: 390.3 MB / 0.6647 GB, free: 456 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 67.89 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4794/0.4806, allocations: 140.4 MB / 0.9497 GB, free: 9.32 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.001958/0.4826, allocations: 1.474 MB / 0.9512 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000493/0.4831, allocations: 461.3 kB / 0.9516 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.422e-05/0.4832, allocations: 0 / 0.9516 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.124e-05/0.4832, allocations: 9.578 kB / 0.9516 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001771/0.4834, allocations: 20.62 kB / 0.9516 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.598e-05/0.4834, allocations: 22.8 kB / 0.9517 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.511e-05/0.4835, allocations: 45.33 kB / 0.9517 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.007e-05/0.4836, allocations: 15.7 kB / 0.9517 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.056e-05/0.4837, allocations: 26.23 kB / 0.9517 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.729e-05/0.4837, allocations: 18.98 kB / 0.9518 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.4838, allocations: 4.156 kB / 0.9518 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.169e-05/0.4838, allocations: 8.344 kB / 0.9518 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.714e-05/0.4838, allocations: 9.734 kB / 0.9518 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.608e-05/0.4838, allocations: 21.59 kB / 0.9518 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.592e-05/0.4839, allocations: 41.66 kB / 0.9518 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.4839, allocations: 7.938 kB / 0.9518 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4839, allocations: 0 / 0.9518 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.4839, allocations: 1.125 kB / 0.9518 GB, free: 7.633 MB / 0.7169 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.0003702/0.4843, allocations: 360.6 kB / 0.9522 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.4843, allocations: 13.16 kB / 0.9522 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.03e-05/0.4844, allocations: 32.25 kB / 0.9522 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.358e-05/0.4844, allocations: 7.531 kB / 0.9522 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.216e-05/0.4845, allocations: 175.9 kB / 0.9524 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.4845, allocations: 5.562 kB / 0.9524 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.4845, allocations: 11.33 kB / 0.9524 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.312e-05/0.4846, allocations: 51.03 kB / 0.9525 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.29e-06/0.4846, allocations: 0 / 0.9525 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-06/0.4846, allocations: 1.219 kB / 0.9525 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.4846, allocations: 1.438 kB / 0.9525 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.793e-05/0.4847, allocations: 21.42 kB / 0.9525 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002246/0.4849, allocations: 272.5 kB / 0.9528 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.561e-05/0.485, allocations: 49.94 kB / 0.9528 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.366e-05/0.485, allocations: 18.61 kB / 0.9528 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.855e-06/0.485, allocations: 1.281 kB / 0.9528 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001054/0.4852, allocations: 63.52 kB / 0.9529 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.4852, allocations: 0 / 0.9529 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0001653/0.4853, allocations: 87.48 kB / 0.953 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.736e-05/0.4854, allocations: 55.41 kB / 0.953 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.205e-05/0.4854, allocations: 113.8 kB / 0.9531 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.452e-06/0.4854, allocations: 25.7 kB / 0.9532 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.765e-05/0.4854, allocations: 81.67 kB / 0.9532 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.4855, allocations: 22.36 kB / 0.9533 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.778e-05/0.4855, allocations: 17.88 kB / 0.9533 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.067e-05/0.4855, allocations: 316.3 kB / 0.9536 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.648e-05/0.4856, allocations: 13.8 kB / 0.9536 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.289e-05/0.4856, allocations: 20 kB / 0.9536 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.706e-05/0.4856, allocations: 25.45 kB / 0.9536 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4856, allocations: 5.062 kB / 0.9536 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.336e-05/0.4857, allocations: 63.12 kB / 0.9537 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.908e-06/0.4858, allocations: 4.906 kB / 0.9537 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.4858, allocations: 4.25 kB / 0.9537 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.297e-06/0.4858, allocations: 1.312 kB / 0.9537 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.874e-05/0.4858, allocations: 10.23 kB / 0.9537 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.4858, allocations: 5.125 kB / 0.9537 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.616e-05/0.4859, allocations: 7.062 kB / 0.9537 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.4859, allocations: 11.97 kB / 0.9537 GB, free: 5.688 MB / 0.7169 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 4.366e-05/0.486, allocations: 121.4 kB / 0.9539 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.199e-05/0.486, allocations: 2.531 kB / 0.9539 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.743e-05/0.486, allocations: 9.375 kB / 0.9539 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-06/0.486, allocations: 0 / 0.9539 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.486, allocations: 7.875 kB / 0.9539 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.486, allocations: 1.094 kB / 0.9539 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.61e-05/0.4861, allocations: 174.7 kB / 0.954 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.4861, allocations: 0 / 0.954 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.534e-05/0.4861, allocations: 8.125 kB / 0.954 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.4861, allocations: 1.25 kB / 0.954 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.4861, allocations: 0 / 0.954 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.4862, allocations: 1.156 kB / 0.954 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4862, allocations: 0 / 0.954 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001015/0.4863, allocations: 102.9 kB / 0.9541 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.648e-05/0.4863, allocations: 80.02 kB / 0.9542 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.4863, allocations: 0 / 0.9542 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.528e-05/0.4864, allocations: 7 kB / 0.9542 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.717e-05/0.4864, allocations: 5.641 kB / 0.9542 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.4864, allocations: 5.625 kB / 0.9542 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.864e-05/0.4864, allocations: 94.55 kB / 0.9543 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4864, allocations: 0.9688 kB / 0.9543 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000176/0.4866, allocations: 8.75 kB / 0.9543 GB, free: 5.043 MB / 0.7169 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.0002217/0.4869, allocations: 0.6327 MB / 0.955 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.161e-05/0.487, allocations: 44.52 kB / 0.955 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.487, allocations: 0 / 0.955 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.647e-05/0.487, allocations: 19.36 kB / 0.955 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001268/0.4871, allocations: 1.312 kB / 0.955 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007005/0.4878, allocations: 1.215 MB / 0.9562 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.043e-05/0.4879, allocations: 0.6959 MB / 0.9569 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.088e-05/0.4879, allocations: 1.969 kB / 0.9569 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.054e-05/0.488, allocations: 14.53 kB / 0.9569 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of SimCode: time 6.72e-07/0.488, allocations: 0 / 0.9569 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01476/0.5027, allocations: 1.498 MB / 0.9584 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.441/6.944, allocations: 13.62 kB / 0.9584 GB, free: 1.691 MB / 0.7169 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches