Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_10_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_10_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",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.001147/0.001147, allocations: 108 kB / 15.6 MB, free: 128 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.001127/0.001127, allocations: 196 kB / 16.53 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.343/1.343, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.562/2.562, allocations: 437.1 MB / 0.7104 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 67.89 kB / 0.8694 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5624/0.5638, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002834/0.5667, allocations: 1.412 MB / 1.019 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003134/0.5698, allocations: 2.67 MB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.999e-05/0.5699, allocations: 7.938 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001585/0.5715, allocations: 0.5773 MB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.696e-05/0.5716, allocations: 27.84 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 4.568e-06/0.5716, allocations: 0 / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002171/0.5718, allocations: 151 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.901e-05/0.5719, allocations: 36.39 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.944e-05/0.572, allocations: 67.72 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.5721, allocations: 75.53 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.5721, allocations: 4 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.5732, allocations: 459.3 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.767e-05/0.5732, allocations: 39.77 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.887e-05/0.5733, allocations: 95.42 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006314/0.574, allocations: 438.2 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.574, allocations: 0 / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.713e-06/0.574, allocations: 0 / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.574, allocations: 0 / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006802/0.5747, allocations: 0.5528 MB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.5747, allocations: 15.97 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.632e-05/0.5748, allocations: 110 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.5749, allocations: 103.9 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.5752, allocations: 298.3 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.511e-05/0.5752, allocations: 154.9 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.04e-05/0.5753, allocations: 150.9 kB / 1.025 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.993e-05/0.5753, allocations: 109.5 kB / 1.025 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.519e-05/0.5754, allocations: 87.22 kB / 1.025 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.065e-05/0.5754, allocations: 154.5 kB / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.326e-05/0.5755, allocations: 150.6 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.429e-05/0.5755, allocations: 150.6 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003206/0.5758, allocations: 0.5289 MB / 1.026 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.074e-05/0.5759, allocations: 177.1 kB / 1.026 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.856e-05/0.5759, allocations: 84.19 kB / 1.026 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.576, allocations: 75.28 kB / 1.026 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.576, allocations: 109.8 kB / 1.026 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.576, allocations: 0 / 1.026 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.0001626/0.5762, allocations: 57.27 kB / 1.026 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.5763, allocations: 130.7 kB / 1.026 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003871/0.5766, allocations: 437.1 kB / 1.027 GB, free: 8.625 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.5767, allocations: 29.7 kB / 1.027 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.296e-05/0.5767, allocations: 132.5 kB / 1.027 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.978e-06/0.5768, allocations: 0 / 1.027 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.175e-05/0.5768, allocations: 93.61 kB / 1.027 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.577, allocations: 338.8 kB / 1.027 GB, free: 8.02 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.5771, allocations: 100.5 kB / 1.027 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.5772, allocations: 169.3 kB / 1.028 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000278/0.5775, allocations: 309.6 kB / 1.028 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.5775, allocations: 0 / 1.028 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004497/0.578, allocations: 325 kB / 1.028 GB, free: 7.09 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.578, allocations: 11.94 kB / 1.028 GB, free: 7.078 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.578, allocations: 0 / 1.028 GB, free: 7.078 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.578, allocations: 4 kB / 1.028 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.212e-06/0.578, allocations: 0 / 1.028 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.578, allocations: 7.938 kB / 1.028 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.5782, allocations: 39.59 kB / 1.028 GB, free: 7.027 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.5782, allocations: 8 kB / 1.028 GB, free: 7.02 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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 0.0001956/0.5784, allocations: 241.1 kB / 1.029 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.818e-05/0.5785, allocations: 132.5 kB / 1.029 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.53e-05/0.5785, allocations: 114.9 kB / 1.029 GB, free: 6.516 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.931e-05/0.5786, allocations: 180.3 kB / 1.029 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-05/0.5786, allocations: 184.2 kB / 1.029 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-05/0.5787, allocations: 180.2 kB / 1.029 GB, free: 5.961 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002608/0.5789, allocations: 473.2 kB / 1.03 GB, free: 5.441 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.279e-05/0.579, allocations: 104.9 kB / 1.03 GB, free: 5.332 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.662e-05/0.579, allocations: 105 kB / 1.03 GB, free: 5.223 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.432e-05/0.5791, allocations: 188.1 kB / 1.03 GB, free: 5.031 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.218e-05/0.5791, allocations: 176.3 kB / 1.03 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.681e-05/0.5792, allocations: 184.2 kB / 1.03 GB, free: 4.664 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.757e-05/0.5792, allocations: 184.2 kB / 1.031 GB, free: 4.477 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.5794, allocations: 323.5 kB / 1.031 GB, free: 4.137 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.753e-05/0.5795, allocations: 210 kB / 1.031 GB, free: 3.906 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.678e-05/0.5795, allocations: 180.2 kB / 1.031 GB, free: 3.723 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.5797, allocations: 109 kB / 1.031 GB, free: 3.609 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.781e-05/0.5798, allocations: 184.3 kB / 1.032 GB, free: 3.422 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.084e-05/0.5798, allocations: 108.9 kB / 1.032 GB, free: 3.309 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002363/0.58, allocations: 275.1 kB / 1.032 GB, free: 3.043 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.58, allocations: 4 kB / 1.032 GB, free: 3.039 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003575/0.5804, allocations: 87.98 kB / 1.032 GB, free: 2.953 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0005325/0.5809, allocations: 0.9585 MB / 1.033 GB, free: 1.969 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001998/0.5812, allocations: 176.2 kB / 1.033 GB, free: 1.797 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.5812, allocations: 4.062 kB / 1.033 GB, free: 1.793 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.5812, allocations: 0 / 1.033 GB, free: 1.793 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.5815, allocations: 461.1 kB / 1.034 GB, free: 1.34 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00245/0.584, allocations: 2.91 MB / 1.036 GB, free: 14.32 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.5843, allocations: 0.7782 MB / 1.037 GB, free: 13.51 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 1.096e-05/0.5843, allocations: 0 / 1.037 GB, free: 13.51 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.246e-05/0.5844, allocations: 59.41 kB / 1.037 GB, free: 13.45 MB / 0.795 GB Notification: Performance of SimCode: time 2.61e-07/0.5844, allocations: 0 / 1.037 GB, free: 13.45 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02139/0.6058, allocations: 6.394 MB / 1.043 GB, free: 7.191 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.287/7.893, allocations: 3.953 kB / 1.043 GB, free: 7.188 MB / 0.795 GB (rm -f Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches