Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cab.1..Amp|cab.2..Amp|cab.3..Amp|cab.4..Amp|cab.5..Amp|cab.6..Amp|cab.7..Amp",fileNamePrefix="Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cab.1..Amp|cab.2..Amp|cab.3..Amp|cab.4..Amp|cab.5..Amp|cab.6..Amp|cab.7..Amp",fileNamePrefix="Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001466/0.001473, allocations: 108 kB / 15.61 MB, free: 152 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.001577/0.001577, allocations: 194.4 kB / 16.53 MB, free: 6.664 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.516/1.516, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.511/2.511, allocations: 390.2 MB / 0.6647 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 67.91 kB / 0.8125 GB, free: 14.48 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8947/0.8961, allocations: 140.4 MB / 0.9496 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002649/0.8988, allocations: 1.415 MB / 0.951 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002726/0.9015, allocations: 2.662 MB / 0.9536 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.951e-05/0.9016, allocations: 1.281 kB / 0.9536 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001502/0.9031, allocations: 0.5797 MB / 0.9541 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.396e-05/0.9031, allocations: 16.97 kB / 0.9541 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.308e-06/0.9031, allocations: 0 / 0.9541 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002442/0.9034, allocations: 164.4 kB / 0.9543 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.217e-05/0.9035, allocations: 41.11 kB / 0.9543 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.82e-05/0.9035, allocations: 53.09 kB / 0.9544 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.9037, allocations: 77.77 kB / 0.9545 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.9037, allocations: 2.594 kB / 0.9545 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.9047, allocations: 472.2 kB / 0.9549 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.627e-05/0.9048, allocations: 31.56 kB / 0.9549 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.922e-05/0.9049, allocations: 103.3 kB / 0.955 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005521/0.9055, allocations: 435.1 kB / 0.9555 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.9055, allocations: 1.625 kB / 0.9555 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.182e-06/0.9055, allocations: 0 / 0.9555 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.9055, allocations: 0 / 0.9555 GB, free: 4.836 MB / 0.7169 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.0006703/0.9062, allocations: 0.5466 MB / 0.956 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.9062, allocations: 10.5 kB / 0.956 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001396/0.9064, allocations: 110.7 kB / 0.9561 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.9065, allocations: 301.2 kB / 0.9564 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.752e-05/0.9066, allocations: 156.8 kB / 0.9565 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.569e-05/0.9066, allocations: 156.7 kB / 0.9567 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.982e-05/0.9067, allocations: 101.5 kB / 0.9568 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.9067, allocations: 77.28 kB / 0.9569 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.948e-05/0.9067, allocations: 162.5 kB / 0.957 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.829e-05/0.9068, allocations: 150.6 kB / 0.9572 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.591e-05/0.9068, allocations: 160.3 kB / 0.9573 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002841/0.9071, allocations: 0.5266 MB / 0.9578 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.561e-05/0.9072, allocations: 174.5 kB / 0.958 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.905e-05/0.9072, allocations: 88.19 kB / 0.9581 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.9072, allocations: 75.28 kB / 0.9582 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.9072, allocations: 107.2 kB / 0.9583 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.9072, allocations: 0 / 0.9583 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 0.0001697/0.9074, allocations: 61.62 kB / 0.9583 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.9074, allocations: 134.6 kB / 0.9584 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003865/0.9078, allocations: 431.2 kB / 0.9589 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.268e-06/0.9078, allocations: 27.02 kB / 0.9589 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.274e-05/0.9079, allocations: 134 kB / 0.959 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.296e-06/0.9079, allocations: 1 kB / 0.959 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.96e-05/0.908, allocations: 91.44 kB / 0.9591 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.487e-05/0.9081, allocations: 338.6 kB / 0.9594 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.9082, allocations: 95.78 kB / 0.9595 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.9083, allocations: 167.9 kB / 0.9597 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003228/0.9087, allocations: 304.3 kB / 0.96 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.9087, allocations: 1.125 kB / 0.96 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005293/0.9092, allocations: 332.2 kB / 0.9603 GB, free: 432 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.9092, allocations: 10.75 kB / 0.9603 GB, free: 428 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.9093, allocations: 6.688 kB / 0.9603 GB, free: 424 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.9093, allocations: 1.375 kB / 0.9603 GB, free: 424 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.158e-06/0.9093, allocations: 6.688 kB / 0.9603 GB, free: 420 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.9093, allocations: 1.375 kB / 0.9603 GB, free: 420 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.9095, allocations: 44.98 kB / 0.9603 GB, free: 384 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.9095, allocations: 4.125 kB / 0.9604 GB, free: 384 kB / 0.7169 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.000222/0.9097, allocations: 243.3 kB / 0.9606 GB, free: 160 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.633e-05/0.9098, allocations: 131.5 kB / 0.9607 GB, free: 28 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.43e-05/0.9099, allocations: 118.1 kB / 0.9608 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.115e-05/0.91, allocations: 181.3 kB / 0.961 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.991e-05/0.91, allocations: 185 kB / 0.9612 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.16e-05/0.9101, allocations: 177.2 kB / 0.9613 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003605/0.9105, allocations: 481.7 kB / 0.9618 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.075e-05/0.9105, allocations: 101 kB / 0.9619 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.032e-05/0.9106, allocations: 102 kB / 0.962 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.076e-05/0.9107, allocations: 185.2 kB / 0.9622 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.094e-05/0.9108, allocations: 181.2 kB / 0.9623 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.285e-05/0.9108, allocations: 185.4 kB / 0.9625 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.468e-05/0.9109, allocations: 177.3 kB / 0.9627 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001856/0.9111, allocations: 328.9 kB / 0.963 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.9112, allocations: 201.3 kB / 0.9632 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.9113, allocations: 189.3 kB / 0.9634 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.9115, allocations: 114.1 kB / 0.9635 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.86e-05/0.9116, allocations: 185.3 kB / 0.9637 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.765e-05/0.9116, allocations: 106.1 kB / 0.9638 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003176/0.912, allocations: 276.7 kB / 0.964 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.11e-07/0.912, allocations: 0 / 0.964 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004934/0.9125, allocations: 80.66 kB / 0.9641 GB, free: 12.58 MB / 0.7325 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.0004223/0.9129, allocations: 306 kB / 0.9644 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002602/0.9132, allocations: 168.3 kB / 0.9646 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.9132, allocations: 0 / 0.9646 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.707e-06/0.9132, allocations: 3.938 kB / 0.9646 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004457/0.9136, allocations: 467.5 kB / 0.965 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006596/0.9143, allocations: 0.4902 MB / 0.9655 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/0.9147, allocations: 0.7814 MB / 0.9662 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.441e-05/0.9147, allocations: 3.062 kB / 0.9663 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.964e-05/0.9147, allocations: 9.625 kB / 0.9663 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of SimCode: time 2.11e-07/0.9147, allocations: 0 / 0.9663 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of Templates: time 0.006898/0.9217, allocations: 3.07 MB / 0.9693 GB, free: 9.102 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile (rm -f Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches