Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_11_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.004176/0.004176, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.00123/0.00123, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.846/2.846, allocations: 469.8 MB / 0.7425 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 68.11 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2632, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002469/0.2657, allocations: 1.476 MB / 1.222 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0007126/0.2665, allocations: 466.8 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.351e-05/0.2665, allocations: 0 / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.827e-05/0.2665, allocations: 7.922 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001995/0.2668, allocations: 31.8 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 7.36e-05/0.2668, allocations: 23.97 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.623e-05/0.2669, allocations: 51.73 kB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.452e-05/0.267, allocations: 7.984 kB / 1.222 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.82e-05/0.2671, allocations: 15.94 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.071e-05/0.2672, allocations: 31.89 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.2672, allocations: 4 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.358e-05/0.2672, allocations: 4 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.946e-05/0.2673, allocations: 8 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.044e-05/0.2673, allocations: 23.86 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.546e-05/0.2674, allocations: 47.75 kB / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2674, allocations: 0 / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2674, allocations: 0 / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.2674, allocations: 0 / 1.222 GB, free: 12.13 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.0005163/0.2679, allocations: 359.3 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.268, allocations: 8.031 kB / 1.223 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.723e-05/0.268, allocations: 34.75 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.651e-05/0.2681, allocations: 8.891 kB / 1.223 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.2682, allocations: 176.3 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.2682, allocations: 4.375 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-06/0.2682, allocations: 4.375 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.2684, allocations: 49.81 kB / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.2684, allocations: 3.984 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.2684, allocations: 0 / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.2684, allocations: 4 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.176e-05/0.2685, allocations: 19.92 kB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003362/0.2688, allocations: 276.9 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.787e-05/0.2689, allocations: 42.56 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.603e-05/0.269, allocations: 20.95 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.269, allocations: 7.984 kB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001399/0.2691, allocations: 67.33 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.2691, allocations: 4 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.0002018/0.2693, allocations: 73.69 kB / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.2694, allocations: 51.41 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.24e-05/0.2695, allocations: 109.8 kB / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.2695, allocations: 29.7 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.733e-05/0.2696, allocations: 92.06 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.2696, allocations: 15.84 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.069e-05/0.2696, allocations: 21.66 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.2698, allocations: 326.8 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.101e-05/0.2698, allocations: 11.94 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.774e-05/0.2699, allocations: 12 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.512e-05/0.2699, allocations: 32.84 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2699, allocations: 0 / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001153/0.2701, allocations: 70.08 kB / 1.224 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.2701, allocations: 4 kB / 1.224 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.2701, allocations: 0 / 1.224 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/0.2701, allocations: 0 / 1.224 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.638e-05/0.2702, allocations: 11.94 kB / 1.224 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.2702, allocations: 8 kB / 1.224 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.973e-05/0.2702, allocations: 4 kB / 1.224 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.2703, allocations: 3.984 kB / 1.224 GB, free: 9.965 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 (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 8.302e-05/0.2703, allocations: 118.3 kB / 1.224 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.338e-05/0.2704, allocations: 3.953 kB / 1.224 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.11e-05/0.2704, allocations: 7.969 kB / 1.224 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.2704, allocations: 0 / 1.224 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.2704, allocations: 0 / 1.224 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.2704, allocations: 4 kB / 1.224 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.2706, allocations: 177.6 kB / 1.224 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.2706, allocations: 4 kB / 1.224 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.157e-05/0.2706, allocations: 8 kB / 1.224 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2706, allocations: 0 / 1.224 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.2706, allocations: 0 / 1.224 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2706, allocations: 0 / 1.224 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.2706, allocations: 0 / 1.224 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.2708, allocations: 96.98 kB / 1.225 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.028e-05/0.2708, allocations: 93.06 kB / 1.225 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.2709, allocations: 0 / 1.225 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.222e-05/0.2709, allocations: 7.984 kB / 1.225 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.315e-05/0.271, allocations: 0 / 1.225 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.271, allocations: 4 kB / 1.225 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.872e-05/0.271, allocations: 91.52 kB / 1.225 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.81e-07/0.271, allocations: 4 kB / 1.225 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001955/0.2712, allocations: 12 kB / 1.225 GB, free: 9.242 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,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.0004404/0.2717, allocations: 0.6397 MB / 1.225 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001071/0.2718, allocations: 36.11 kB / 1.225 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2718, allocations: 0 / 1.225 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.498e-05/0.2719, allocations: 20 kB / 1.225 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001393/0.272, allocations: 3.062 kB / 1.225 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.2732, allocations: 1.239 MB / 1.227 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.2735, allocations: 0.6846 MB / 1.227 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.937e-05/0.2735, allocations: 11.97 kB / 1.227 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.2736, allocations: 11.44 kB / 1.227 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of SimCode: time 2.7e-07/0.2736, allocations: 0 / 1.227 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02058/0.2941, allocations: 1.517 MB / 1.229 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.474/7.768, allocations: 14.61 kB / 1.229 GB, free: 5.094 MB / 0.9825 GB (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv --start-time 0 --stop-time 172800 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches