Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_latest_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.004611/0.004611, allocations: 99.34 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.001077/0.001077, allocations: 197.3 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.33/1.33, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.701/2.701, allocations: 469.4 MB / 0.7422 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 59.91 kB / 1.064 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2516, allocations: 159.1 MB / 1.22 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002415/0.2541, allocations: 1.472 MB / 1.221 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0007129/0.2548, allocations: 466.8 kB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.679e-05/0.2549, allocations: 0 / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.625e-05/0.2549, allocations: 3.938 kB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002037/0.2551, allocations: 31.84 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 7.23e-05/0.2552, allocations: 15.92 kB / 1.222 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.187e-05/0.2553, allocations: 55.8 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.907e-05/0.2554, allocations: 15.95 kB / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.942e-05/0.2555, allocations: 23.86 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.72e-05/0.2556, allocations: 19.92 kB / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.2556, allocations: 4 kB / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.105e-05/0.2556, allocations: 4 kB / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.26e-05/0.2556, allocations: 11.98 kB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.085e-05/0.2557, allocations: 27.86 kB / 1.222 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.707e-05/0.2558, allocations: 43.81 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2558, allocations: 0 / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2558, allocations: 0 / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.2558, allocations: 0 / 1.222 GB, free: 12.43 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.0004788/0.2563, allocations: 351.3 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.2563, allocations: 15.97 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.959e-05/0.2564, allocations: 30.75 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.92e-05/0.2564, allocations: 12.89 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.2565, allocations: 176.2 kB / 1.222 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.2565, allocations: 4.375 kB / 1.222 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.2566, allocations: 4.375 kB / 1.222 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.725e-05/0.2567, allocations: 49.81 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.2567, allocations: 0 / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.2567, allocations: 3.984 kB / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.2567, allocations: 0 / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.144e-05/0.2568, allocations: 16 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003101/0.2571, allocations: 284.8 kB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.187e-05/0.2572, allocations: 42.56 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.325e-05/0.2573, allocations: 24.94 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.722e-06/0.2573, allocations: 0 / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001444/0.2574, allocations: 59.39 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.2574, allocations: 3.938 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.0001945/0.2576, allocations: 89.62 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.2577, allocations: 55.39 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.946e-05/0.2578, allocations: 109.8 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.2578, allocations: 25.7 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.648e-05/0.2578, allocations: 88.12 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.2578, allocations: 19.84 kB / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.329e-05/0.2579, allocations: 13.72 kB / 1.223 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.325e-05/0.258, allocations: 322.8 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.195e-05/0.258, allocations: 16 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.689e-05/0.2581, allocations: 15.98 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.988e-05/0.2581, allocations: 37.17 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2581, allocations: 0 / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001026/0.2582, allocations: 61.64 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.2583, allocations: 9.719 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.2583, allocations: 0 / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.2583, allocations: 0 / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.998e-05/0.2584, allocations: 12 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.2584, allocations: 0 / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.2585, allocations: 11.98 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.2585, allocations: 0 / 1.224 GB, free: 10.27 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 7.248e-05/0.2586, allocations: 117.8 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.382e-05/0.2586, allocations: 3.953 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.469e-05/0.2586, allocations: 3.969 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.2586, allocations: 7.938 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.2587, allocations: 3.938 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.2587, allocations: 0 / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.2588, allocations: 173.6 kB / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2588, allocations: 4 kB / 1.224 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.899e-05/0.2588, allocations: 4 kB / 1.224 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.2588, allocations: 0 / 1.224 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.2588, allocations: 8 kB / 1.224 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2589, allocations: 0 / 1.224 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2589, allocations: 3.984 kB / 1.224 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001966/0.2591, allocations: 93.05 kB / 1.224 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.86e-05/0.2591, allocations: 85 kB / 1.224 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.2591, allocations: 12 kB / 1.224 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.109e-05/0.2592, allocations: 4.109 kB / 1.224 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.049e-05/0.2592, allocations: 8 kB / 1.224 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.2593, allocations: 0 / 1.224 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.343e-05/0.2593, allocations: 95.2 kB / 1.224 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2593, allocations: 0 / 1.224 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001945/0.2595, allocations: 8 kB / 1.224 GB, free: 9.539 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.0004431/0.26, allocations: 0.6475 MB / 1.225 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001109/0.2601, allocations: 35.92 kB / 1.225 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.2601, allocations: 0 / 1.225 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.474e-05/0.2602, allocations: 16 kB / 1.225 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000142/0.2603, allocations: 6.062 kB / 1.225 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.2613, allocations: 1.231 MB / 1.226 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002222/0.2616, allocations: 0.6846 MB / 1.227 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.588e-05/0.2616, allocations: 3.984 kB / 1.227 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.738e-05/0.2617, allocations: 15.44 kB / 1.227 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.2617, allocations: 0 / 1.227 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01518/0.2768, allocations: 1.534 MB / 1.228 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.219/7.496, allocations: 20.47 kB / 1.228 GB, free: 5.371 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches