Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001/0.001, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001201/0.001201, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9241/0.9241, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.734/1.734, allocations: 377.8 MB / 0.6229 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.9822 GB, free: 2.105 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/1.998e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.102 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001648/0.001668, allocations: 1.422 MB / 0.9836 GB, free: 0.668 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001406/0.003074, allocations: 1.752 MB / 0.9853 GB, free: 14.91 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.665e-05/0.0031, allocations: 0 / 0.9853 GB, free: 14.91 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006896/0.00379, allocations: 353.9 kB / 0.9856 GB, free: 14.56 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 3.602e-05/0.003826, allocations: 19.91 kB / 0.9856 GB, free: 14.54 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 3.907e-06/0.00383, allocations: 0 / 0.9856 GB, free: 14.54 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002906/0.004121, allocations: 139 kB / 0.9858 GB, free: 14.41 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.371e-05/0.004164, allocations: 5.688 kB / 0.9858 GB, free: 14.4 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.372e-05/0.004228, allocations: 55.88 kB / 0.9858 GB, free: 14.34 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.294e-05/0.004321, allocations: 59.83 kB / 0.9859 GB, free: 14.29 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.004336, allocations: 0 / 0.9859 GB, free: 14.29 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002457/0.004582, allocations: 175.8 kB / 0.986 GB, free: 14.11 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 4.239e-05/0.004624, allocations: 35.83 kB / 0.9861 GB, free: 14.08 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 4.594e-05/0.00467, allocations: 55.8 kB / 0.9861 GB, free: 14.02 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003123/0.004982, allocations: 294.8 kB / 0.9864 GB, free: 13.73 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.004984, allocations: 0 / 0.9864 GB, free: 13.73 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.322e-06/0.004985, allocations: 0 / 0.9864 GB, free: 13.73 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.00499, allocations: 4 kB / 0.9864 GB, free: 13.73 MB / 0.948 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.0004831/0.005473, allocations: 429.1 kB / 0.9868 GB, free: 13.28 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.005509, allocations: 8.031 kB / 0.9868 GB, free: 13.27 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.399e-05/0.005603, allocations: 96.12 kB / 0.9869 GB, free: 13.18 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.005761, allocations: 240.3 kB / 0.9872 GB, free: 12.92 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.016e-05/0.005801, allocations: 150.9 kB / 0.9873 GB, free: 12.77 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.341e-05/0.005844, allocations: 158.9 kB / 0.9874 GB, free: 12.62 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.093e-05/0.005895, allocations: 105.5 kB / 0.9875 GB, free: 12.51 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.005915, allocations: 75.47 kB / 0.9876 GB, free: 12.43 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.641e-05/0.005951, allocations: 154.7 kB / 0.9878 GB, free: 12.28 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.602e-05/0.005987, allocations: 158.5 kB / 0.9879 GB, free: 12.12 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.472e-05/0.006022, allocations: 154.6 kB / 0.9881 GB, free: 11.97 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002293/0.006251, allocations: 461.4 kB / 0.9885 GB, free: 11.49 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.677e-05/0.006318, allocations: 173.1 kB / 0.9887 GB, free: 11.31 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.446e-05/0.006343, allocations: 80.14 kB / 0.9887 GB, free: 11.23 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.006363, allocations: 79.28 kB / 0.9888 GB, free: 11.15 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.006397, allocations: 105.8 kB / 0.9889 GB, free: 11.04 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.006398, allocations: 0 / 0.9889 GB, free: 11.04 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 0.0001087/0.006506, allocations: 57.55 kB / 0.989 GB, free: 10.98 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.006552, allocations: 130.6 kB / 0.9891 GB, free: 10.84 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002258/0.006778, allocations: 325.6 kB / 0.9894 GB, free: 10.51 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.006789, allocations: 29.7 kB / 0.9894 GB, free: 10.48 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.774e-05/0.006847, allocations: 108.6 kB / 0.9895 GB, free: 10.37 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.344e-06/0.00685, allocations: 0 / 0.9895 GB, free: 10.37 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.745e-05/0.006897, allocations: 61.69 kB / 0.9896 GB, free: 10.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.73e-05/0.006984, allocations: 330.8 kB / 0.9899 GB, free: 9.969 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.916e-05/0.007043, allocations: 63.95 kB / 0.99 GB, free: 9.906 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.682e-05/0.00713, allocations: 125.7 kB / 0.9901 GB, free: 9.762 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.007295, allocations: 213.8 kB / 0.9903 GB, free: 9.531 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.007297, allocations: 0 / 0.9903 GB, free: 9.531 MB / 0.948 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002787/0.007575, allocations: 237.5 kB / 0.9905 GB, free: 9.293 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.007587, allocations: 12.03 kB / 0.9905 GB, free: 9.281 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/0.007593, allocations: 0 / 0.9905 GB, free: 9.281 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.007607, allocations: 4 kB / 0.9905 GB, free: 9.277 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.154e-06/0.007609, allocations: 3.938 kB / 0.9906 GB, free: 9.273 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.007615, allocations: 4 kB / 0.9906 GB, free: 9.27 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.767e-05/0.007683, allocations: 27.67 kB / 0.9906 GB, free: 9.242 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.007689, allocations: 7.938 kB / 0.9906 GB, free: 9.234 MB / 0.948 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.0001267/0.007816, allocations: 229 kB / 0.9908 GB, free: 9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.494e-05/0.007861, allocations: 120.8 kB / 0.9909 GB, free: 8.875 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.583e-05/0.007897, allocations: 125.7 kB / 0.991 GB, free: 8.746 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.402e-05/0.007941, allocations: 180.3 kB / 0.9912 GB, free: 8.562 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.293e-05/0.007984, allocations: 180.2 kB / 0.9914 GB, free: 8.379 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-05/0.008025, allocations: 184.2 kB / 0.9916 GB, free: 8.191 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/0.008188, allocations: 396.8 kB / 0.9919 GB, free: 7.766 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-05/0.008213, allocations: 104.9 kB / 0.992 GB, free: 7.656 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.673e-05/0.00824, allocations: 112.9 kB / 0.9921 GB, free: 7.539 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.041e-05/0.00828, allocations: 176.3 kB / 0.9923 GB, free: 7.359 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.731e-05/0.008327, allocations: 184.2 kB / 0.9925 GB, free: 7.172 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.475e-05/0.008372, allocations: 180.3 kB / 0.9927 GB, free: 6.988 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001514/0.008523, allocations: 180.4 kB / 0.9928 GB, free: 6.805 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/0.008635, allocations: 327.7 kB / 0.9931 GB, free: 6.461 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.808e-05/0.008683, allocations: 124.8 kB / 0.9933 GB, free: 6.332 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.59e-05/0.008749, allocations: 184.2 kB / 0.9934 GB, free: 6.145 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.263e-05/0.008822, allocations: 104.9 kB / 0.9935 GB, free: 6.035 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.517e-05/0.008877, allocations: 180.2 kB / 0.9937 GB, free: 5.852 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.878e-05/0.008906, allocations: 109 kB / 0.9938 GB, free: 5.738 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001378/0.009043, allocations: 217.1 kB / 0.994 GB, free: 5.527 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.009043, allocations: 0 / 0.994 GB, free: 5.527 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002315/0.009275, allocations: 63.94 kB / 0.9941 GB, free: 5.465 MB / 0.948 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.0002492/0.009524, allocations: 278.4 kB / 0.9944 GB, free: 5.18 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001283/0.009652, allocations: 79.89 kB / 0.9944 GB, free: 5.102 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.009654, allocations: 0 / 0.9944 GB, free: 5.102 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.62e-07/0.009655, allocations: 448 / 0.9944 GB, free: 5.102 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.009911, allocations: 472 kB / 0.9949 GB, free: 4.637 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003637/0.01028, allocations: 407.7 kB / 0.9953 GB, free: 4.203 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.394e-05/0.01035, allocations: 126.9 kB / 0.9954 GB, free: 4.059 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.52e-05/0.01036, allocations: 12.5 kB / 0.9954 GB, free: 4.047 MB / 0.948 GB Notification: Performance of SimCode: time 4.11e-07/0.01036, allocations: 0 / 0.9954 GB, free: 4.047 MB / 0.948 GB Notification: Performance of Templates: time 0.002571/0.01294, allocations: 2.439 MB / 0.9978 GB, free: 1.609 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.904899106360972]