Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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.001462/0.001462, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001602/0.001602, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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 1.487/1.487, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 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.811/2.811, allocations: 359 MB / 0.6048 GB, free: 10.91 MB / 0.573 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_med,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_med") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,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_med") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.765e-05/3.91e-05, allocations: 6.25 kB / 0.7863 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002914/0.002953, allocations: 1.432 MB / 0.7877 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004202/0.007155, allocations: 2.395 MB / 0.7901 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.139e-05/0.007197, allocations: 0 / 0.7901 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001746/0.008943, allocations: 0.5543 MB / 0.7906 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.544e-05/0.009008, allocations: 24.73 kB / 0.7906 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 5.982e-06/0.009014, allocations: 3.938 kB / 0.7907 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003215/0.009335, allocations: 170.2 kB / 0.7908 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 5.013e-05/0.009386, allocations: 8.594 kB / 0.7908 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.009543, allocations: 91.72 kB / 0.7909 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001547/0.009698, allocations: 59.83 kB / 0.791 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.009718, allocations: 4 kB / 0.791 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009621/0.01068, allocations: 406.3 kB / 0.7914 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.257e-05/0.01074, allocations: 31.84 kB / 0.7914 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.01085, allocations: 64.33 kB / 0.7914 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0007483/0.0116, allocations: 454.1 kB / 0.7919 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.0116, allocations: 1.375 kB / 0.7919 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.894e-06/0.0116, allocations: 0 / 0.7919 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.01161, allocations: 0 / 0.7919 GB, free: 7.18 MB / 0.7448 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.0009493/0.01256, allocations: 485.9 kB / 0.7923 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.0126, allocations: 12.03 kB / 0.7924 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001876/0.01279, allocations: 105 kB / 0.7925 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002987/0.01309, allocations: 255.7 kB / 0.7927 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.477e-05/0.01318, allocations: 152.5 kB / 0.7928 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003587/0.01354, allocations: 158.9 kB / 0.793 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.051e-05/0.01363, allocations: 101.5 kB / 0.7931 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.506e-05/0.01368, allocations: 75.47 kB / 0.7932 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.654e-05/0.01376, allocations: 153.2 kB / 0.7933 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.448e-05/0.01385, allocations: 154.9 kB / 0.7935 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.375e-05/0.01394, allocations: 158.4 kB / 0.7936 GB, free: 5.344 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000477/0.01442, allocations: 497.2 kB / 0.7941 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.01454, allocations: 165.1 kB / 0.7942 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.633e-05/0.0146, allocations: 80.14 kB / 0.7943 GB, free: 4.574 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.817e-05/0.01465, allocations: 82.72 kB / 0.7944 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.454e-05/0.01472, allocations: 109.8 kB / 0.7945 GB, free: 4.379 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.01472, allocations: 0 / 0.7945 GB, free: 4.379 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 0.0001883/0.01491, allocations: 57.5 kB / 0.7946 GB, free: 4.316 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.09e-05/0.015, allocations: 126.7 kB / 0.7947 GB, free: 4.18 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005496/0.01555, allocations: 437.3 kB / 0.7951 GB, free: 3.746 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.01558, allocations: 29.7 kB / 0.7951 GB, free: 3.711 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.01571, allocations: 132.6 kB / 0.7953 GB, free: 3.574 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.297e-06/0.01571, allocations: 0 / 0.7953 GB, free: 3.574 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.01582, allocations: 90.41 kB / 0.7953 GB, free: 3.48 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002033/0.01603, allocations: 338.8 kB / 0.7957 GB, free: 3.141 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.01617, allocations: 101.1 kB / 0.7958 GB, free: 3.043 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002183/0.01639, allocations: 161.8 kB / 0.7959 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003931/0.01679, allocations: 306.2 kB / 0.7962 GB, free: 2.547 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.01679, allocations: 0.5625 kB / 0.7962 GB, free: 2.547 MB / 0.7448 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000652/0.01744, allocations: 358.4 kB / 0.7965 GB, free: 2.191 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.01746, allocations: 8 kB / 0.7966 GB, free: 2.184 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.01747, allocations: 0 / 0.7966 GB, free: 2.184 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/0.01749, allocations: 4 kB / 0.7966 GB, free: 2.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.458e-06/0.01749, allocations: 4.516 kB / 0.7966 GB, free: 2.176 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.0175, allocations: 5.594 kB / 0.7966 GB, free: 2.172 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.01765, allocations: 43.5 kB / 0.7966 GB, free: 2.129 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.01767, allocations: 8 kB / 0.7966 GB, free: 2.121 MB / 0.7448 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.0003008/0.01797, allocations: 242 kB / 0.7968 GB, free: 1.875 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.01808, allocations: 128.8 kB / 0.797 GB, free: 1.742 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.262e-05/0.01817, allocations: 115.4 kB / 0.7971 GB, free: 1.621 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000101/0.01827, allocations: 180.3 kB / 0.7973 GB, free: 1.438 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001051/0.01838, allocations: 181.2 kB / 0.7974 GB, free: 1.254 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001126/0.01849, allocations: 188.1 kB / 0.7976 GB, free: 1.062 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003782/0.01887, allocations: 425.7 kB / 0.798 GB, free: 0.6094 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.575e-05/0.01893, allocations: 109 kB / 0.7981 GB, free: 0.4961 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.014e-05/0.01899, allocations: 102.3 kB / 0.7982 GB, free: 400 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001182/0.01911, allocations: 184.3 kB / 0.7984 GB, free: 208 kB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001086/0.01922, allocations: 184.1 kB / 0.7986 GB, free: 16 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00012/0.01934, allocations: 184.2 kB / 0.7987 GB, free: 15.83 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001077/0.01945, allocations: 185.2 kB / 0.7989 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.01969, allocations: 331.5 kB / 0.7992 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.0198, allocations: 130.8 kB / 0.7994 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/0.01993, allocations: 180.3 kB / 0.7995 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.02011, allocations: 104.9 kB / 0.7996 GB, free: 14.87 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.02023, allocations: 180.3 kB / 0.7998 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.677e-05/0.0203, allocations: 108.9 kB / 0.7999 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0006445/0.02094, allocations: 275.1 kB / 0.8002 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.02094, allocations: 3.219 kB / 0.8002 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004804/0.02142, allocations: 91.86 kB / 0.8003 GB, free: 14.21 MB / 0.7605 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.0005483/0.02197, allocations: 312.6 kB / 0.8006 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002714/0.02224, allocations: 117.1 kB / 0.8007 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.02224, allocations: 4 kB / 0.8007 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 1.343e-06/0.02224, allocations: 4.062 kB / 0.8007 GB, free: 13.78 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005535/0.0228, allocations: 462.7 kB / 0.8011 GB, free: 13.33 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000808/0.02361, allocations: 0.4935 MB / 0.8016 GB, free: 12.81 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002013/0.02381, allocations: 168.1 kB / 0.8018 GB, free: 12.62 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 1.555e-05/0.02382, allocations: 4.25 kB / 0.8018 GB, free: 12.62 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.457e-05/0.02386, allocations: 8.5 kB / 0.8018 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of SimCode: time 6.12e-07/0.02386, allocations: 0 / 0.8018 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of Templates: time 0.008241/0.0321, allocations: 3.068 MB / 0.8048 GB, free: 9.574 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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: 8.147105503012426]