Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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_low,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_low") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,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_low") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000946/0.000946, allocations: 97.78 kB / 16.02 MB, free: 76 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.001252/0.001252, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.504/1.504, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.403/2.403, allocations: 390.9 MB / 0.667 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000355/0.0003553, allocations: 8 kB / 0.8166 GB, free: 13.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7711/0.7715, allocations: 142.4 MB / 0.9557 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001381/0.7729, allocations: 1.123 MB / 0.9568 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001917/0.7749, allocations: 1.881 MB / 0.9586 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.982e-05/0.7749, allocations: 0 / 0.9586 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009073/0.7758, allocations: 370.8 kB / 0.959 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.358e-05/0.7759, allocations: 19.62 kB / 0.959 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.657e-06/0.7759, allocations: 1.344 kB / 0.959 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000227/0.7761, allocations: 139.3 kB / 0.9591 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.148e-05/0.7762, allocations: 26.27 kB / 0.9592 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.387e-05/0.7762, allocations: 39.56 kB / 0.9592 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.7763, allocations: 63.77 kB / 0.9593 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.7764, allocations: 3.125 kB / 0.9593 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00041/0.7768, allocations: 183.6 kB / 0.9594 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.882e-05/0.7768, allocations: 36.39 kB / 0.9595 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.175e-05/0.7769, allocations: 93.78 kB / 0.9596 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002233/0.7772, allocations: 210.2 kB / 0.9598 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.7772, allocations: 0 / 0.9598 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7772, allocations: 0 / 0.9598 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.7772, allocations: 3.938 kB / 0.9598 GB, free: 4.617 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.000554/0.7777, allocations: 483.2 kB / 0.9602 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.7778, allocations: 8.25 kB / 0.9602 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001335/0.7779, allocations: 98.94 kB / 0.9603 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.7781, allocations: 289.3 kB / 0.9606 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.7781, allocations: 152.3 kB / 0.9608 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.342e-05/0.7782, allocations: 152.3 kB / 0.9609 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.362e-05/0.7782, allocations: 114.5 kB / 0.961 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.7782, allocations: 75.28 kB / 0.9611 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.7783, allocations: 154.5 kB / 0.9612 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.535e-05/0.7783, allocations: 151.9 kB / 0.9614 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.516e-05/0.7783, allocations: 158.4 kB / 0.9615 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002449/0.7786, allocations: 0.5051 MB / 0.962 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.765e-05/0.7786, allocations: 170.5 kB / 0.9622 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.91e-05/0.7787, allocations: 80.14 kB / 0.9623 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.7787, allocations: 75.28 kB / 0.9623 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.7787, allocations: 119.1 kB / 0.9624 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.7787, allocations: 0 / 0.9624 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 0.0001573/0.7789, allocations: 56.41 kB / 0.9625 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.7789, allocations: 126.7 kB / 0.9626 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002808/0.7792, allocations: 312.4 kB / 0.9629 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.447e-06/0.7792, allocations: 25.7 kB / 0.9629 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.933e-05/0.7793, allocations: 124.6 kB / 0.9631 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-06/0.7793, allocations: 0 / 0.9631 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.394e-05/0.7794, allocations: 48.94 kB / 0.9631 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.939e-05/0.7794, allocations: 332.3 kB / 0.9634 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.709e-05/0.7795, allocations: 63.92 kB / 0.9635 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.7796, allocations: 125.3 kB / 0.9636 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002116/0.7798, allocations: 209.2 kB / 0.9638 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.7798, allocations: 0.7812 kB / 0.9638 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004097/0.7803, allocations: 242.2 kB / 0.964 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.7803, allocations: 7.125 kB / 0.964 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.7803, allocations: 2.188 kB / 0.964 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.7803, allocations: 1.969 kB / 0.964 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.777e-06/0.7803, allocations: 2.094 kB / 0.9641 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.7803, allocations: 2.031 kB / 0.9641 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.7805, allocations: 33.61 kB / 0.9641 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.7805, allocations: 4.406 kB / 0.9641 GB, free: 0.5 MB / 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.000154/0.7806, allocations: 224.7 kB / 0.9643 GB, free: 300 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.536e-05/0.7807, allocations: 130.8 kB / 0.9644 GB, free: 168 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.087e-05/0.7807, allocations: 109.3 kB / 0.9645 GB, free: 60 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.06e-05/0.7808, allocations: 184.9 kB / 0.9647 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.057e-05/0.7809, allocations: 184.9 kB / 0.9649 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.967e-05/0.781, allocations: 181.3 kB / 0.9651 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003062/0.7813, allocations: 450.4 kB / 0.9655 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.969e-05/0.7813, allocations: 102.1 kB / 0.9656 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.311e-05/0.7814, allocations: 116.9 kB / 0.9657 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.061e-05/0.7815, allocations: 181.3 kB / 0.9659 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.972e-05/0.7815, allocations: 181.5 kB / 0.966 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.567e-05/0.7816, allocations: 185.5 kB / 0.9662 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.689e-05/0.7817, allocations: 177.6 kB / 0.9664 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001911/0.7819, allocations: 320.4 kB / 0.9667 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.782, allocations: 202.4 kB / 0.9669 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.159e-05/0.7821, allocations: 182.2 kB / 0.9671 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.7823, allocations: 102 kB / 0.9672 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.424e-05/0.7824, allocations: 181.5 kB / 0.9673 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.862e-05/0.7824, allocations: 101 kB / 0.9674 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002492/0.7827, allocations: 217 kB / 0.9676 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7827, allocations: 0 / 0.9676 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004592/0.7831, allocations: 67.66 kB / 0.9677 GB, free: 12.79 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.0004476/0.7836, allocations: 265.9 kB / 0.968 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001996/0.7838, allocations: 109.8 kB / 0.9681 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.7838, allocations: 0.9375 kB / 0.9681 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.353e-06/0.7838, allocations: 3.938 kB / 0.9681 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00046/0.7843, allocations: 0.5287 MB / 0.9686 GB, free: 12 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006414/0.7849, allocations: 461.3 kB / 0.969 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.7853, allocations: 0.7418 MB / 0.9697 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.119e-05/0.7853, allocations: 9.812 kB / 0.9698 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.7853, allocations: 0 / 0.9698 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of Templates: time 0.004707/0.79, allocations: 2.323 MB / 0.972 GB, free: 9.711 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile (rm -f Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches