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.001952/0.001952, allocations: 80.84 kB / 19.18 MB, free: 2.516 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.001658/0.001658, allocations: 159.5 kB / 22.46 MB, free: 5.375 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.546/1.546, allocations: 177.1 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] 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 2.99/2.99, allocations: 377.8 MB / 0.6221 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 176] 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.523e-06/1.523e-06, allocations: 0 / 0.9814 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.49e-05/3.642e-05, allocations: 2.281 kB / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002821/0.002857, allocations: 1.41 MB / 0.9828 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002637/0.005494, allocations: 1.756 MB / 0.9845 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.553e-05/0.00553, allocations: 0 / 0.9845 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001157/0.006687, allocations: 365.8 kB / 0.9848 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.912e-05/0.006746, allocations: 19.84 kB / 0.9849 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.398e-06/0.00675, allocations: 7.938 kB / 0.9849 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002591/0.007009, allocations: 127.1 kB / 0.985 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.551e-05/0.007065, allocations: 5.688 kB / 0.985 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.007172, allocations: 67.8 kB / 0.9851 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.007312, allocations: 47.89 kB / 0.9851 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.007331, allocations: 4 kB / 0.9851 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004148/0.007746, allocations: 175.8 kB / 0.9853 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.228e-05/0.007818, allocations: 35.84 kB / 0.9853 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.932e-05/0.007897, allocations: 43.91 kB / 0.9853 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005221/0.00842, allocations: 306.8 kB / 0.9856 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.008423, allocations: 0 / 0.9856 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.292e-06/0.008424, allocations: 0 / 0.9856 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.00843, allocations: 3.938 kB / 0.9856 GB, free: 7.625 MB / 0.9356 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.0008537/0.009284, allocations: 425.2 kB / 0.9861 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.009328, allocations: 8.031 kB / 0.9861 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001834/0.009511, allocations: 100.1 kB / 0.9862 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.009766, allocations: 228.3 kB / 0.9864 GB, free: 6.828 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.877e-05/0.009865, allocations: 162.9 kB / 0.9865 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.95e-05/0.009964, allocations: 150.9 kB / 0.9867 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.587e-05/0.01005, allocations: 105.5 kB / 0.9868 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.429e-05/0.01009, allocations: 75.47 kB / 0.9868 GB, free: 6.336 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.657e-05/0.01018, allocations: 154.7 kB / 0.987 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-05/0.01026, allocations: 150.6 kB / 0.9871 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.657e-05/0.01034, allocations: 154.6 kB / 0.9873 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004124/0.01075, allocations: 465.4 kB / 0.9877 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.01088, allocations: 169.1 kB / 0.9879 GB, free: 5.223 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.114e-05/0.01093, allocations: 84.14 kB / 0.988 GB, free: 5.137 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.852e-05/0.01098, allocations: 75.28 kB / 0.988 GB, free: 5.062 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.034e-05/0.01104, allocations: 109.8 kB / 0.9881 GB, free: 4.945 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.01104, allocations: 0 / 0.9881 GB, free: 4.945 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 0.0002128/0.01125, allocations: 57.48 kB / 0.9882 GB, free: 4.883 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.59e-05/0.01133, allocations: 130.6 kB / 0.9883 GB, free: 4.742 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004121/0.01174, allocations: 321.7 kB / 0.9886 GB, free: 4.418 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.01176, allocations: 29.7 kB / 0.9887 GB, free: 4.383 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.344e-05/0.01186, allocations: 112.6 kB / 0.9888 GB, free: 4.27 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.885e-06/0.01186, allocations: 0 / 0.9888 GB, free: 4.27 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.033e-05/0.01194, allocations: 61.69 kB / 0.9888 GB, free: 4.203 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001963/0.01214, allocations: 330.8 kB / 0.9891 GB, free: 3.871 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.01224, allocations: 67.95 kB / 0.9892 GB, free: 3.805 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.01241, allocations: 125.7 kB / 0.9893 GB, free: 3.66 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002843/0.01269, allocations: 213.8 kB / 0.9895 GB, free: 3.43 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.01269, allocations: 3.938 kB / 0.9895 GB, free: 3.426 MB / 0.9356 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004764/0.01317, allocations: 233.3 kB / 0.9898 GB, free: 3.191 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.01319, allocations: 8.219 kB / 0.9898 GB, free: 3.184 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.0132, allocations: 4 kB / 0.9898 GB, free: 3.18 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.01322, allocations: 4 kB / 0.9898 GB, free: 3.176 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.56e-06/0.01322, allocations: 7.875 kB / 0.9898 GB, free: 3.168 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.01323, allocations: 4 kB / 0.9898 GB, free: 3.164 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.01337, allocations: 27.67 kB / 0.9898 GB, free: 3.137 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.01338, allocations: 4 kB / 0.9898 GB, free: 3.133 MB / 0.9356 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.0002653/0.01365, allocations: 225.1 kB / 0.99 GB, free: 2.902 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.01375, allocations: 128.8 kB / 0.9901 GB, free: 2.77 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.855e-05/0.01383, allocations: 121.8 kB / 0.9903 GB, free: 2.645 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001022/0.01393, allocations: 184.3 kB / 0.9904 GB, free: 2.457 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001115/0.01404, allocations: 184.1 kB / 0.9906 GB, free: 2.27 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.699e-05/0.01413, allocations: 176.3 kB / 0.9908 GB, free: 2.09 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003298/0.01446, allocations: 404.8 kB / 0.9912 GB, free: 1.656 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.394e-05/0.01453, allocations: 105 kB / 0.9913 GB, free: 1.547 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.501e-05/0.01458, allocations: 105 kB / 0.9914 GB, free: 1.438 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001038/0.01468, allocations: 184.2 kB / 0.9915 GB, free: 1.25 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.326e-05/0.01478, allocations: 176.3 kB / 0.9917 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.323e-05/0.01486, allocations: 180.2 kB / 0.9919 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.536e-05/0.01496, allocations: 180.3 kB / 0.9921 GB, free: 0.7031 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000207/0.01516, allocations: 327.8 kB / 0.9924 GB, free: 368 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.971e-05/0.01525, allocations: 124.9 kB / 0.9925 GB, free: 236 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001282/0.01538, allocations: 184.2 kB / 0.9927 GB, free: 44 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.01554, allocations: 105 kB / 0.9928 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.01565, allocations: 184.2 kB / 0.9929 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.504e-05/0.01571, allocations: 108.9 kB / 0.993 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000233/0.01594, allocations: 217.2 kB / 0.9933 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.01594, allocations: 0 / 0.9933 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004084/0.01635, allocations: 63.94 kB / 0.9933 GB, free: 15.36 MB / 0.9512 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.0004407/0.01679, allocations: 270.4 kB / 0.9936 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001931/0.01699, allocations: 83.83 kB / 0.9937 GB, free: 15 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01699, allocations: 0 / 0.9937 GB, free: 15 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.01699, allocations: 7.938 kB / 0.9937 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005038/0.01749, allocations: 460.5 kB / 0.9941 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005788/0.01807, allocations: 402 kB / 0.9945 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000151/0.01822, allocations: 122.9 kB / 0.9946 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.187e-05/0.01825, allocations: 7.984 kB / 0.9946 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.133e-05/0.01827, allocations: 8.5 kB / 0.9946 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of SimCode: time 7.51e-07/0.01827, allocations: 0 / 0.9946 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of Templates: time 0.006733/0.025, allocations: 2.298 MB / 0.9969 GB, free: 11.68 MB / 0.9512 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: 9.00365924462676]