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.002316/0.002316, allocations: 79.7 kB / 20.23 MB, free: 4.195 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.002396/0.002396, allocations: 161.7 kB / 23.55 MB, free: 0.8789 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.614/1.614, allocations: 177.1 MB / 203.9 MB, free: 5.605 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 3.033/3.033, allocations: 359 MB / 0.6048 GB, free: 10.95 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_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 2.314e-06/2.314e-06, allocations: 0 / 0.7863 GB, free: 11.72 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.252e-05/3.484e-05, allocations: 3.562 kB / 0.7863 GB, free: 11.72 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.004861/0.004896, allocations: 1.436 MB / 0.7877 GB, free: 10.29 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004153/0.009049, allocations: 1.913 MB / 0.7896 GB, free: 8.379 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.643e-05/0.009086, allocations: 0 / 0.7896 GB, free: 8.379 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001415/0.0105, allocations: 357.9 kB / 0.79 GB, free: 8.031 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.084e-05/0.01057, allocations: 23.84 kB / 0.79 GB, free: 8.008 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 5.841e-06/0.01058, allocations: 1.375 kB / 0.79 GB, free: 8.008 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002897/0.01087, allocations: 135 kB / 0.7901 GB, free: 7.875 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.005e-05/0.01092, allocations: 5.688 kB / 0.7901 GB, free: 7.867 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.01105, allocations: 63.81 kB / 0.7902 GB, free: 7.805 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.01121, allocations: 54.77 kB / 0.7902 GB, free: 7.754 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.01123, allocations: 0 / 0.7902 GB, free: 7.754 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005063/0.01173, allocations: 175.9 kB / 0.7904 GB, free: 7.582 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 6.945e-05/0.0118, allocations: 35.84 kB / 0.7904 GB, free: 7.547 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.528e-05/0.01189, allocations: 43.88 kB / 0.7905 GB, free: 7.504 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005691/0.01246, allocations: 306.8 kB / 0.7908 GB, free: 7.203 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.01246, allocations: 0.7188 kB / 0.7908 GB, free: 7.203 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.143e-06/0.01246, allocations: 0 / 0.7908 GB, free: 7.203 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.01247, allocations: 1.656 kB / 0.7908 GB, free: 7.203 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.0009419/0.01341, allocations: 0.5225 MB / 0.7913 GB, free: 6.645 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.01345, allocations: 13.22 kB / 0.7913 GB, free: 6.633 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002077/0.01366, allocations: 136 kB / 0.7914 GB, free: 6.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003134/0.01397, allocations: 283.1 kB / 0.7917 GB, free: 6.195 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000137/0.01411, allocations: 238.8 kB / 0.7919 GB, free: 5.961 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/0.01425, allocations: 248.4 kB / 0.7921 GB, free: 5.719 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.01436, allocations: 149.4 kB / 0.7923 GB, free: 5.566 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.751e-05/0.01443, allocations: 119.4 kB / 0.7924 GB, free: 5.449 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001363/0.01457, allocations: 242.5 kB / 0.7926 GB, free: 5.211 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001553/0.01472, allocations: 247.6 kB / 0.7929 GB, free: 4.969 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.01486, allocations: 242.3 kB / 0.7931 GB, free: 4.73 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005763/0.01544, allocations: 0.646 MB / 0.7937 GB, free: 4.051 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/0.01564, allocations: 271.1 kB / 0.794 GB, free: 3.773 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.678e-05/0.01572, allocations: 126.9 kB / 0.7941 GB, free: 3.645 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.113e-05/0.01579, allocations: 123.2 kB / 0.7942 GB, free: 3.523 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.823e-05/0.01589, allocations: 156.5 kB / 0.7944 GB, free: 3.359 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.773e-06/0.01589, allocations: 1.781 kB / 0.7944 GB, free: 3.359 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 0.0001995/0.01609, allocations: 49.56 kB / 0.7944 GB, free: 3.305 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/0.01621, allocations: 174.5 kB / 0.7946 GB, free: 3.121 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005391/0.01675, allocations: 400.1 kB / 0.795 GB, free: 2.715 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.01677, allocations: 25.7 kB / 0.795 GB, free: 2.684 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.01693, allocations: 172.1 kB / 0.7952 GB, free: 2.512 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.572e-06/0.01694, allocations: 7.984 kB / 0.7952 GB, free: 2.504 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/0.01708, allocations: 83.88 kB / 0.7953 GB, free: 2.414 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0003222/0.0174, allocations: 0.5118 MB / 0.7958 GB, free: 1.891 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.097e-05/0.01746, allocations: 20.72 kB / 0.7958 GB, free: 1.871 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.01762, allocations: 109.5 kB / 0.7959 GB, free: 1.734 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002485/0.01787, allocations: 162.2 kB / 0.796 GB, free: 1.547 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.01787, allocations: 1.312 kB / 0.796 GB, free: 1.547 MB / 0.698 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000492/0.01837, allocations: 189.3 kB / 0.7962 GB, free: 1.355 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.01838, allocations: 4 kB / 0.7962 GB, free: 1.352 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.01839, allocations: 4.531 kB / 0.7962 GB, free: 1.348 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.01841, allocations: 1.375 kB / 0.7962 GB, free: 1.348 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.933e-06/0.01842, allocations: 7.938 kB / 0.7962 GB, free: 1.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.01843, allocations: 0 / 0.7962 GB, free: 1.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.01857, allocations: 27.73 kB / 0.7963 GB, free: 1.312 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.01859, allocations: 5.156 kB / 0.7963 GB, free: 1.309 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.0002846/0.01887, allocations: 316.4 kB / 0.7966 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.01901, allocations: 164.8 kB / 0.7967 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/0.01913, allocations: 153.7 kB / 0.7969 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001868/0.01931, allocations: 276.9 kB / 0.7971 GB, free: 396 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001867/0.0195, allocations: 276 kB / 0.7974 GB, free: 112 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001693/0.01967, allocations: 269.4 kB / 0.7977 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004478/0.02012, allocations: 0.5467 MB / 0.7982 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.489e-05/0.0202, allocations: 148.9 kB / 0.7983 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.091e-05/0.02028, allocations: 149 kB / 0.7985 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001672/0.02045, allocations: 276.9 kB / 0.7987 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001485/0.0206, allocations: 272 kB / 0.799 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001471/0.02075, allocations: 266 kB / 0.7992 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001462/0.02089, allocations: 268 kB / 0.7995 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000306/0.0212, allocations: 467.9 kB / 0.7999 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.02133, allocations: 164.7 kB / 0.8001 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000177/0.0215, allocations: 268.1 kB / 0.8004 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.02168, allocations: 153.6 kB / 0.8005 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/0.02183, allocations: 272 kB / 0.8008 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.898e-05/0.02191, allocations: 148.3 kB / 0.8009 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002671/0.02218, allocations: 253.1 kB / 0.8012 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.02218, allocations: 0 / 0.8012 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003879/0.02257, allocations: 63.94 kB / 0.8012 GB, free: 12.05 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.0004441/0.02301, allocations: 323.8 kB / 0.8015 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001808/0.02319, allocations: 74.41 kB / 0.8016 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.02319, allocations: 0 / 0.8016 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.512e-06/0.02319, allocations: 0 / 0.8016 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006102/0.0238, allocations: 0.7128 MB / 0.8023 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006212/0.02443, allocations: 422.6 kB / 0.8027 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001309/0.02456, allocations: 121 kB / 0.8028 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.282e-05/0.02457, allocations: 3.984 kB / 0.8028 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/0.0246, allocations: 13.59 kB / 0.8028 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of SimCode: time 4.6e-07/0.0246, allocations: 0 / 0.8028 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of Templates: time 0.006858/0.03145, allocations: 2.307 MB / 0.8051 GB, free: 8.059 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 240] 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: 8.36224410298746]