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.003942/0.003942, allocations: 96.53 kB / 15.73 MB, free: 6.043 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.001013/0.001013, allocations: 196.6 kB / 16.67 MB, free: 5.969 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.27/1.27, 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 10.1.1-maint.10.0.x/package.mo): time 2.412/2.412, allocations: 437.1 MB / 0.7105 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 63.91 kB / 1.018 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2386, allocations: 151.6 MB / 1.166 GB, free: 7.344 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002366/0.241, allocations: 1.488 MB / 1.168 GB, free: 5.84 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007226/0.2417, allocations: 474.8 kB / 1.168 GB, free: 5.371 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.167e-05/0.2418, allocations: 0 / 1.168 GB, free: 5.371 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.528e-05/0.2418, allocations: 3.938 kB / 1.168 GB, free: 5.367 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002075/0.242, allocations: 23.86 kB / 1.168 GB, free: 5.344 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 6.866e-05/0.2421, allocations: 19.91 kB / 1.168 GB, free: 5.324 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.126e-05/0.2422, allocations: 51.86 kB / 1.168 GB, free: 5.273 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.553e-05/0.2423, allocations: 11.98 kB / 1.168 GB, free: 5.262 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.406e-05/0.2424, allocations: 23.86 kB / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.967e-05/0.2424, allocations: 23.91 kB / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.2425, allocations: 4 kB / 1.168 GB, free: 5.211 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.095e-05/0.2425, allocations: 4 kB / 1.168 GB, free: 5.207 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.327e-05/0.2425, allocations: 15.92 kB / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.67e-05/0.2426, allocations: 19.94 kB / 1.168 GB, free: 5.172 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.051e-05/0.2427, allocations: 48.08 kB / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.2427, allocations: 0 / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.705e-06/0.2427, allocations: 0 / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.2427, allocations: 3.938 kB / 1.168 GB, free: 5.121 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.0004801/0.2432, allocations: 355.3 kB / 1.169 GB, free: 4.727 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.2432, allocations: 12.03 kB / 1.169 GB, free: 4.715 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.397e-05/0.2432, allocations: 34.75 kB / 1.169 GB, free: 4.672 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.64e-05/0.2433, allocations: 4.938 kB / 1.169 GB, free: 4.668 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.2434, allocations: 172.3 kB / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.2434, allocations: 4.375 kB / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.437e-06/0.2434, allocations: 4.312 kB / 1.169 GB, free: 4.453 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.2435, allocations: 57.8 kB / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.691e-06/0.2436, allocations: 0 / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.2436, allocations: 0 / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.2436, allocations: 0 / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.538e-05/0.2436, allocations: 16 kB / 1.169 GB, free: 4.375 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003018/0.244, allocations: 272.9 kB / 1.169 GB, free: 4.059 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.2441, allocations: 50.44 kB / 1.169 GB, free: 4 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.223e-05/0.2441, allocations: 24.94 kB / 1.169 GB, free: 3.973 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.2441, allocations: 3.984 kB / 1.169 GB, free: 3.969 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001427/0.2443, allocations: 63.34 kB / 1.169 GB, free: 3.895 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.2443, allocations: 4 kB / 1.169 GB, free: 3.891 MB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.0001938/0.2445, allocations: 81.62 kB / 1.169 GB, free: 3.805 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.2445, allocations: 59.39 kB / 1.169 GB, free: 3.734 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.619e-05/0.2446, allocations: 105.9 kB / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.2446, allocations: 25.7 kB / 1.17 GB, free: 3.59 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.333e-05/0.2447, allocations: 92.06 kB / 1.17 GB, free: 3.496 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.2447, allocations: 11.91 kB / 1.17 GB, free: 3.484 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-05/0.2447, allocations: 17.72 kB / 1.17 GB, free: 3.461 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.727e-05/0.2449, allocations: 326.8 kB / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.361e-05/0.2449, allocations: 12 kB / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.663e-05/0.2449, allocations: 15.98 kB / 1.17 GB, free: 3.105 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.255e-05/0.245, allocations: 29.23 kB / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.245, allocations: 4 kB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001046/0.2451, allocations: 65.58 kB / 1.17 GB, free: 3 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.2451, allocations: 8 kB / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.955e-06/0.2451, allocations: 0 / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.2451, allocations: 0 / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.812e-05/0.2452, allocations: 15.94 kB / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.2452, allocations: 0 / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.086e-05/0.2453, allocations: 7.984 kB / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.2453, allocations: 4 kB / 1.17 GB, free: 2.965 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 (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 7.95e-05/0.2454, allocations: 117.8 kB / 1.17 GB, free: 2.84 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.413e-05/0.2454, allocations: 3.953 kB / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.953e-05/0.2454, allocations: 3.969 kB / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.2454, allocations: 4 kB / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.2455, allocations: 0 / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2455, allocations: 7.984 kB / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.2456, allocations: 173.6 kB / 1.17 GB, free: 2.598 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2456, allocations: 0 / 1.17 GB, free: 2.598 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.986e-05/0.2456, allocations: 7.938 kB / 1.17 GB, free: 2.59 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2456, allocations: 0 / 1.17 GB, free: 2.59 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.2457, allocations: 4 kB / 1.171 GB, free: 2.586 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.2457, allocations: 3.984 kB / 1.171 GB, free: 2.582 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.2457, allocations: 0 / 1.171 GB, free: 2.582 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.2458, allocations: 97.06 kB / 1.171 GB, free: 2.469 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.146e-05/0.2458, allocations: 81.06 kB / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.2459, allocations: 4 kB / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.078e-05/0.2459, allocations: 11.92 kB / 1.171 GB, free: 2.355 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.621e-05/0.246, allocations: 4.125 kB / 1.171 GB, free: 2.352 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.246, allocations: 4 kB / 1.171 GB, free: 2.348 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.851e-05/0.246, allocations: 91.27 kB / 1.171 GB, free: 2.258 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.246, allocations: 0 / 1.171 GB, free: 2.258 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002132/0.2463, allocations: 11.94 kB / 1.171 GB, free: 2.246 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,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.0003848/0.2467, allocations: 0.6397 MB / 1.171 GB, free: 1.578 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001052/0.2468, allocations: 35.98 kB / 1.171 GB, free: 1.543 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.2468, allocations: 0 / 1.171 GB, free: 1.543 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.449e-05/0.2468, allocations: 19.94 kB / 1.171 GB, free: 1.523 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001378/0.247, allocations: 4 kB / 1.171 GB, free: 1.52 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.248, allocations: 1.216 MB / 1.173 GB, free: 228 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.2482, allocations: 0.6846 MB / 1.173 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.416e-05/0.2483, allocations: 7.891 kB / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.008e-05/0.2483, allocations: 15.44 kB / 1.173 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of SimCode: time 2.71e-07/0.2483, allocations: 3.938 kB / 1.173 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01531/0.2636, allocations: 1.533 MB / 1.175 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.676/7.939, allocations: 11.88 kB / 1.175 GB, free: 14.09 MB / 0.9356 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