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.009153/0.009153, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.002208/0.002208, allocations: 192.2 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.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.371/2.371, allocations: 437.1 MB / 0.7105 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 59.91 kB / 1.018 GB, free: 9.949 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7611/0.7624, allocations: 151.6 MB / 1.166 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002474/0.7649, allocations: 1.417 MB / 1.168 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003119/0.7681, allocations: 2.67 MB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.753e-05/0.7681, allocations: 0 / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00161/0.7698, allocations: 0.5832 MB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 5.701e-05/0.7698, allocations: 19.91 kB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 4.058e-06/0.7698, allocations: 0 / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002213/0.7701, allocations: 162.9 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 6.351e-05/0.7701, allocations: 32.39 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 7.398e-05/0.7702, allocations: 63.72 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.7703, allocations: 83.58 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.7704, allocations: 0 / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001035/0.7714, allocations: 467.3 kB / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 6.062e-05/0.7715, allocations: 39.77 kB / 1.172 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.7716, allocations: 95.42 kB / 1.172 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006621/0.7723, allocations: 450.9 kB / 1.172 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.7723, allocations: 0 / 1.172 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7723, allocations: 3.938 kB / 1.172 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.7723, allocations: 0 / 1.172 GB, free: 13.72 MB / 0.9044 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.0007697/0.7731, allocations: 0.5487 MB / 1.173 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.7731, allocations: 16.92 kB / 1.173 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.662e-05/0.7732, allocations: 110 kB / 1.173 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001695/0.7733, allocations: 104 kB / 1.173 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.7736, allocations: 298.4 kB / 1.173 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.126e-05/0.7737, allocations: 154.9 kB / 1.173 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.015e-05/0.7737, allocations: 154.9 kB / 1.173 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.227e-05/0.7738, allocations: 109.5 kB / 1.173 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.913e-05/0.7738, allocations: 79.22 kB / 1.174 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.217e-05/0.7739, allocations: 150.6 kB / 1.174 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-05/0.7739, allocations: 150.6 kB / 1.174 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.351e-05/0.774, allocations: 154.5 kB / 1.174 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003675/0.7744, allocations: 0.5445 MB / 1.175 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 8.148e-05/0.7745, allocations: 165.1 kB / 1.175 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.005e-05/0.7745, allocations: 80.14 kB / 1.175 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.052e-05/0.7745, allocations: 75.28 kB / 1.175 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/0.7746, allocations: 113.8 kB / 1.175 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 3.175e-06/0.7746, allocations: 4 kB / 1.175 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 0.0001809/0.7748, allocations: 61.39 kB / 1.175 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.653e-05/0.7748, allocations: 130.7 kB / 1.175 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004362/0.7753, allocations: 429.3 kB / 1.176 GB, free: 9.922 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.7753, allocations: 25.7 kB / 1.176 GB, free: 9.891 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.771e-05/0.7754, allocations: 132.6 kB / 1.176 GB, free: 9.758 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.206e-06/0.7754, allocations: 3.938 kB / 1.176 GB, free: 9.754 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.972e-05/0.7755, allocations: 93.66 kB / 1.176 GB, free: 9.656 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.7756, allocations: 338.8 kB / 1.176 GB, free: 9.316 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.7758, allocations: 100.5 kB / 1.176 GB, free: 9.219 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/0.7759, allocations: 169.2 kB / 1.176 GB, free: 9.035 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000311/0.7763, allocations: 309.6 kB / 1.177 GB, free: 8.711 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.7763, allocations: 0 / 1.177 GB, free: 8.711 MB / 0.9044 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000499/0.7768, allocations: 329 kB / 1.177 GB, free: 8.383 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.7768, allocations: 7.938 kB / 1.177 GB, free: 8.375 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.7768, allocations: 4 kB / 1.177 GB, free: 8.371 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.7768, allocations: 4 kB / 1.177 GB, free: 8.367 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.413e-06/0.7768, allocations: 0 / 1.177 GB, free: 8.367 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.7769, allocations: 7.984 kB / 1.177 GB, free: 8.359 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000145/0.777, allocations: 43.52 kB / 1.177 GB, free: 8.316 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.777, allocations: 8 kB / 1.177 GB, free: 8.309 MB / 0.9044 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.0002161/0.7772, allocations: 249.2 kB / 1.177 GB, free: 8.055 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.943e-05/0.7773, allocations: 132.7 kB / 1.177 GB, free: 7.918 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.558e-05/0.7774, allocations: 115 kB / 1.178 GB, free: 7.801 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.174e-05/0.7774, allocations: 180.2 kB / 1.178 GB, free: 7.617 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.002e-05/0.7775, allocations: 176.3 kB / 1.178 GB, free: 7.438 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-05/0.7776, allocations: 184.2 kB / 1.178 GB, free: 7.25 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002679/0.7778, allocations: 473.2 kB / 1.178 GB, free: 6.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-05/0.7779, allocations: 105 kB / 1.179 GB, free: 6.621 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.058e-05/0.7779, allocations: 104.9 kB / 1.179 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.782e-05/0.778, allocations: 188.2 kB / 1.179 GB, free: 6.32 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.716e-05/0.778, allocations: 184.2 kB / 1.179 GB, free: 6.133 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.276e-05/0.7781, allocations: 184.3 kB / 1.179 GB, free: 5.945 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.663e-05/0.7781, allocations: 176.3 kB / 1.179 GB, free: 5.766 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.7783, allocations: 327.8 kB / 1.18 GB, free: 5.422 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.269e-05/0.7784, allocations: 205.9 kB / 1.18 GB, free: 5.195 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.467e-05/0.7785, allocations: 188.2 kB / 1.18 GB, free: 5.004 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.7786, allocations: 105 kB / 1.18 GB, free: 4.895 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.648e-05/0.7787, allocations: 184.2 kB / 1.18 GB, free: 4.707 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-05/0.7787, allocations: 105 kB / 1.18 GB, free: 4.598 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002522/0.779, allocations: 279.1 kB / 1.181 GB, free: 4.328 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.713e-06/0.779, allocations: 0 / 1.181 GB, free: 4.328 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003996/0.7794, allocations: 87.88 kB / 1.181 GB, free: 4.242 MB / 0.9044 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.0006263/0.78, allocations: 0.9692 MB / 1.182 GB, free: 3.246 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002079/0.7802, allocations: 159.9 kB / 1.182 GB, free: 3.09 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.7802, allocations: 448 / 1.182 GB, free: 3.09 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.783e-06/0.7802, allocations: 4 kB / 1.182 GB, free: 3.086 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.7806, allocations: 466.8 kB / 1.182 GB, free: 2.625 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00264/0.7833, allocations: 2.955 MB / 1.185 GB, free: 15.55 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.7836, allocations: 0.7743 MB / 1.186 GB, free: 14.75 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 1.326e-05/0.7836, allocations: 8 kB / 1.186 GB, free: 14.74 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.592e-05/0.7837, allocations: 47.42 kB / 1.186 GB, free: 14.69 MB / 0.92 GB Notification: Performance of SimCode: time 2.9e-07/0.7837, allocations: 0 / 1.186 GB, free: 14.69 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02093/0.8046, allocations: 6.45 MB / 1.192 GB, free: 8.391 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.608/8.412, allocations: 19.02 kB / 1.192 GB, free: 8.375 MB / 0.92 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