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.00145/0.00145, 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.001629/0.001629, allocations: 161.6 kB / 23.54 MB, free: 0.8945 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.478/1.478, 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.779/2.779, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 177] 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.954e-06/1.954e-06, allocations: 0 / 0.7863 GB, free: 11.72 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.77e-05/3.966e-05, allocations: 5.406 kB / 0.7863 GB, free: 11.71 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.003579/0.003619, allocations: 1.416 MB / 0.7877 GB, free: 10.3 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003028/0.006647, allocations: 1.75 MB / 0.7894 GB, free: 8.555 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.973e-05/0.006686, allocations: 0 / 0.7894 GB, free: 8.555 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001541/0.008227, allocations: 369.7 kB / 0.7898 GB, free: 8.195 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.663e-05/0.008304, allocations: 23.84 kB / 0.7898 GB, free: 8.172 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 4.749e-06/0.008309, allocations: 0.5 kB / 0.7898 GB, free: 8.172 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002822/0.008591, allocations: 128.2 kB / 0.7899 GB, free: 8.047 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.293e-05/0.008644, allocations: 5.688 kB / 0.7899 GB, free: 8.039 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.008773, allocations: 63.8 kB / 0.79 GB, free: 7.977 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.008909, allocations: 49.5 kB / 0.79 GB, free: 7.93 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.79e-05/0.008946, allocations: 7.984 kB / 0.7901 GB, free: 7.922 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005358/0.009482, allocations: 173.5 kB / 0.7902 GB, free: 7.754 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 6.834e-05/0.009551, allocations: 27.91 kB / 0.7902 GB, free: 7.727 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 9.484e-05/0.009645, allocations: 51.86 kB / 0.7903 GB, free: 7.676 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006125/0.01026, allocations: 302.8 kB / 0.7906 GB, free: 7.379 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.686e-06/0.01026, allocations: 0 / 0.7906 GB, free: 7.379 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.192e-06/0.01026, allocations: 2.562 kB / 0.7906 GB, free: 7.379 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.01027, allocations: 7.938 kB / 0.7906 GB, free: 7.371 MB / 0.698 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.0008448/0.01111, allocations: 425.1 kB / 0.791 GB, free: 6.926 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.01115, allocations: 8.031 kB / 0.791 GB, free: 6.918 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001816/0.01134, allocations: 100.1 kB / 0.7911 GB, free: 6.82 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002652/0.0116, allocations: 229 kB / 0.7913 GB, free: 6.57 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-05/0.01169, allocations: 152.6 kB / 0.7915 GB, free: 6.422 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.943e-05/0.01179, allocations: 158.9 kB / 0.7916 GB, free: 6.266 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.01189, allocations: 101.5 kB / 0.7917 GB, free: 6.16 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.703e-05/0.01194, allocations: 75.47 kB / 0.7918 GB, free: 6.086 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.73e-05/0.01204, allocations: 158.7 kB / 0.7919 GB, free: 5.93 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-05/0.01212, allocations: 155.9 kB / 0.7921 GB, free: 5.777 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.621e-05/0.01222, allocations: 158.5 kB / 0.7922 GB, free: 5.621 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004425/0.01266, allocations: 465.4 kB / 0.7927 GB, free: 5.137 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.01279, allocations: 166.9 kB / 0.7928 GB, free: 4.965 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.243e-05/0.01285, allocations: 84.14 kB / 0.7929 GB, free: 4.879 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.697e-05/0.0129, allocations: 75.28 kB / 0.793 GB, free: 4.805 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.56e-05/0.01299, allocations: 117.8 kB / 0.7931 GB, free: 4.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.01299, allocations: 0 / 0.7931 GB, free: 4.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 0.0001857/0.01317, allocations: 50.12 kB / 0.7932 GB, free: 4.625 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.898e-05/0.01326, allocations: 131.6 kB / 0.7933 GB, free: 4.484 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004116/0.01367, allocations: 317.7 kB / 0.7936 GB, free: 4.168 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.0137, allocations: 29.7 kB / 0.7936 GB, free: 4.133 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.01381, allocations: 114.5 kB / 0.7937 GB, free: 4.02 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-06/0.01381, allocations: 4 kB / 0.7937 GB, free: 4.016 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.474e-05/0.01391, allocations: 61.67 kB / 0.7938 GB, free: 3.949 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0004698/0.01438, allocations: 330.8 kB / 0.7941 GB, free: 3.617 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.01448, allocations: 63.95 kB / 0.7942 GB, free: 3.555 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.01464, allocations: 123.8 kB / 0.7943 GB, free: 3.414 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002943/0.01493, allocations: 205.9 kB / 0.7945 GB, free: 3.191 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.01493, allocations: 0 / 0.7945 GB, free: 3.191 MB / 0.698 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005366/0.01547, allocations: 261.2 kB / 0.7947 GB, free: 2.93 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.01549, allocations: 4 kB / 0.7947 GB, free: 2.926 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.659e-06/0.0155, allocations: 4.5 kB / 0.7947 GB, free: 2.922 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.01552, allocations: 0.5312 kB / 0.7947 GB, free: 2.922 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.997e-06/0.01553, allocations: 15.88 kB / 0.7947 GB, free: 2.906 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.01553, allocations: 0.7188 kB / 0.7947 GB, free: 2.906 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.01566, allocations: 27.73 kB / 0.7948 GB, free: 2.879 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.01567, allocations: 4.531 kB / 0.7948 GB, free: 2.875 MB / 0.698 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.0002696/0.01594, allocations: 234.5 kB / 0.795 GB, free: 2.637 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.01604, allocations: 116.8 kB / 0.7951 GB, free: 2.516 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.555e-05/0.01613, allocations: 117.8 kB / 0.7952 GB, free: 2.391 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001071/0.01624, allocations: 184.8 kB / 0.7954 GB, free: 2.203 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001077/0.01634, allocations: 185.5 kB / 0.7956 GB, free: 2.016 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001117/0.01646, allocations: 180.2 kB / 0.7957 GB, free: 1.832 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003371/0.01679, allocations: 400.8 kB / 0.7961 GB, free: 1.402 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.053e-05/0.01685, allocations: 106.1 kB / 0.7962 GB, free: 1.293 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.434e-05/0.01691, allocations: 104.9 kB / 0.7963 GB, free: 1.184 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.915e-05/0.01701, allocations: 176.3 kB / 0.7965 GB, free: 1.004 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001088/0.01712, allocations: 189.1 kB / 0.7967 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001073/0.01722, allocations: 176.3 kB / 0.7968 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001117/0.01733, allocations: 180.4 kB / 0.797 GB, free: 460 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.01757, allocations: 324.5 kB / 0.7973 GB, free: 112 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.0177, allocations: 128.8 kB / 0.7975 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/0.01784, allocations: 181.6 kB / 0.7976 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.01798, allocations: 104.9 kB / 0.7977 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.0181, allocations: 184.2 kB / 0.7979 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.778e-05/0.01817, allocations: 105 kB / 0.798 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002656/0.01844, allocations: 217.7 kB / 0.7982 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9e-08/0.01844, allocations: 0.6875 kB / 0.7982 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003801/0.01882, allocations: 63.94 kB / 0.7983 GB, free: 15.11 MB / 0.7136 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.000433/0.01925, allocations: 279.3 kB / 0.7985 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000187/0.01944, allocations: 79.89 kB / 0.7986 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01944, allocations: 0 / 0.7986 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.01944, allocations: 0 / 0.7986 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005028/0.01994, allocations: 469.1 kB / 0.7991 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006411/0.02058, allocations: 393 kB / 0.7994 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000147/0.02073, allocations: 127.9 kB / 0.7996 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.44e-05/0.02074, allocations: 3.984 kB / 0.7996 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.563e-05/0.02078, allocations: 16.44 kB / 0.7996 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of SimCode: time 6.62e-07/0.02078, allocations: 1.125 kB / 0.7996 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of Templates: time 0.006965/0.02775, allocations: 2.307 MB / 0.8018 GB, free: 11.44 MB / 0.7136 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: 7.921330137993209]