Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002253/0.002253, allocations: 80.36 kB / 19.18 MB, free: 2.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002645/0.002645, allocations: 171.9 kB / 22.46 MB, free: 5.355 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.585/1.585, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.956/2.956, allocations: 359 MB / 0.6037 GB, free: 15.02 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 3.938 kB / 0.951 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.262e-05/3.456e-05, allocations: 5.234 kB / 0.951 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.003124/0.003158, allocations: 1.404 MB / 0.9523 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002864/0.006022, allocations: 1.76 MB / 0.954 GB, free: 8.43 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.247e-05/0.006065, allocations: 0 / 0.954 GB, free: 8.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00127/0.007335, allocations: 368.7 kB / 0.9544 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.43e-05/0.007389, allocations: 15.91 kB / 0.9544 GB, free: 8.055 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.278e-06/0.007393, allocations: 4 kB / 0.9544 GB, free: 8.051 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002848/0.007678, allocations: 135.1 kB / 0.9545 GB, free: 7.918 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.333e-05/0.007741, allocations: 5.688 kB / 0.9546 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.007868, allocations: 63.81 kB / 0.9546 GB, free: 7.844 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.008025, allocations: 47.89 kB / 0.9547 GB, free: 7.797 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.008044, allocations: 0 / 0.9547 GB, free: 7.797 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000436/0.00848, allocations: 179.8 kB / 0.9548 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.647e-05/0.008547, allocations: 39.89 kB / 0.9549 GB, free: 7.582 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.656e-05/0.008633, allocations: 43.86 kB / 0.9549 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000521/0.009154, allocations: 302.8 kB / 0.9552 GB, free: 7.242 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.009158, allocations: 0 / 0.9552 GB, free: 7.242 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.633e-06/0.00916, allocations: 0 / 0.9552 GB, free: 7.242 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.009165, allocations: 0 / 0.9552 GB, free: 7.242 MB / 0.8575 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.0008047/0.00997, allocations: 429.1 kB / 0.9556 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.01001, allocations: 8.031 kB / 0.9556 GB, free: 6.785 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001891/0.0102, allocations: 100.1 kB / 0.9557 GB, free: 6.688 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.01046, allocations: 232.4 kB / 0.9559 GB, free: 6.434 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.941e-05/0.01055, allocations: 158.9 kB / 0.9561 GB, free: 6.277 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.357e-05/0.01065, allocations: 150.9 kB / 0.9562 GB, free: 6.129 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.22e-05/0.01074, allocations: 105.5 kB / 0.9563 GB, free: 6.02 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.743e-05/0.0108, allocations: 75.47 kB / 0.9564 GB, free: 5.945 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.187e-05/0.01088, allocations: 158.7 kB / 0.9566 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.535e-05/0.01096, allocations: 150.6 kB / 0.9567 GB, free: 5.641 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.835e-05/0.01105, allocations: 158.4 kB / 0.9568 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000438/0.01149, allocations: 465.4 kB / 0.9573 GB, free: 5 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.0116, allocations: 165.1 kB / 0.9574 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.992e-05/0.01167, allocations: 88.14 kB / 0.9575 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.495e-05/0.01171, allocations: 79.27 kB / 0.9576 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.354e-05/0.01179, allocations: 113.8 kB / 0.9577 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.01179, allocations: 0 / 0.9577 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0001929/0.01198, allocations: 49.56 kB / 0.9578 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.718e-05/0.01207, allocations: 130.6 kB / 0.9579 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004093/0.01248, allocations: 313.7 kB / 0.9582 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.0125, allocations: 29.7 kB / 0.9582 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.928e-05/0.01259, allocations: 112.5 kB / 0.9583 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.056e-06/0.01259, allocations: 0 / 0.9583 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.486e-05/0.01269, allocations: 65.67 kB / 0.9584 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.01287, allocations: 330.8 kB / 0.9587 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.01298, allocations: 63.95 kB / 0.9588 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001688/0.01315, allocations: 129.7 kB / 0.9589 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002964/0.01344, allocations: 205.9 kB / 0.9591 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.01345, allocations: 0 / 0.9591 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005083/0.01395, allocations: 241.2 kB / 0.9593 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.01397, allocations: 8 kB / 0.9593 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.01398, allocations: 0 / 0.9593 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.014, allocations: 4 kB / 0.9593 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.637e-06/0.014, allocations: 3.938 kB / 0.9593 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.01401, allocations: 8.219 kB / 0.9593 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.01413, allocations: 27.67 kB / 0.9594 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.01414, allocations: 4 kB / 0.9594 GB, free: 2.75 MB / 0.8575 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.0002843/0.01443, allocations: 233 kB / 0.9596 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.01453, allocations: 116.9 kB / 0.9597 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.651e-05/0.0146, allocations: 113.8 kB / 0.9598 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001166/0.01471, allocations: 188.2 kB / 0.96 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001069/0.01482, allocations: 180.2 kB / 0.9602 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.692e-05/0.01492, allocations: 176.3 kB / 0.9603 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003421/0.01526, allocations: 412.8 kB / 0.9607 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.476e-05/0.01532, allocations: 101 kB / 0.9608 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.435e-05/0.01539, allocations: 108.9 kB / 0.9609 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000123/0.01551, allocations: 180.3 kB / 0.9611 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001266/0.01564, allocations: 180.2 kB / 0.9613 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.854e-05/0.01574, allocations: 176.3 kB / 0.9614 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001101/0.01585, allocations: 184.2 kB / 0.9616 GB, free: 336 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.01611, allocations: 323.8 kB / 0.9619 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.908e-05/0.01621, allocations: 128.8 kB / 0.962 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001338/0.01634, allocations: 184.2 kB / 0.9622 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.01649, allocations: 105 kB / 0.9623 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.01661, allocations: 192.1 kB / 0.9625 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.02e-05/0.01668, allocations: 105 kB / 0.9626 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000269/0.01695, allocations: 221.2 kB / 0.9628 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of sort global known variables: time 7e-08/0.01695, allocations: 0 / 0.9628 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004206/0.01737, allocations: 63.94 kB / 0.9629 GB, free: 14.97 MB / 0.8731 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.0004795/0.01785, allocations: 266.4 kB / 0.9631 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002064/0.01805, allocations: 87.83 kB / 0.9632 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01805, allocations: 0 / 0.9632 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.01806, allocations: 4 kB / 0.9632 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005208/0.01858, allocations: 456.2 kB / 0.9636 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006525/0.01923, allocations: 394.1 kB / 0.964 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.0194, allocations: 131.3 kB / 0.9641 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.446e-05/0.01942, allocations: 4 kB / 0.9642 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.308e-05/0.01944, allocations: 8.5 kB / 0.9642 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of SimCode: time 4.81e-07/0.01944, allocations: 0 / 0.9642 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of Templates: time 0.00685/0.02629, allocations: 2.303 MB / 0.9664 GB, free: 11.31 MB / 0.8731 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.033691216260195]