Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002392/0.002392, allocations: 93.47 kB / 19.44 MB, free: 340 kB / 13.93 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.003176/0.003176, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.716/1.716, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.509/3.509, allocations: 429.5 MB / 0.6729 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 5.33e-06/5.33e-06, allocations: 4 kB / 0.8774 GB, free: 6.676 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.268e-05/3.801e-05, allocations: 5.125 kB / 0.8774 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.003361/0.003399, allocations: 1.454 MB / 0.8788 GB, free: 5.23 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.004006/0.007404, allocations: 2.625 MB / 0.8814 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.198e-05/0.007436, allocations: 0.5938 kB / 0.8814 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001661/0.009098, allocations: 0.5551 MB / 0.8819 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.568e-05/0.009173, allocations: 24.5 kB / 0.882 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 5.29e-06/0.009179, allocations: 0 / 0.882 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003194/0.009498, allocations: 175.4 kB / 0.8821 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 6.731e-05/0.009565, allocations: 8.594 kB / 0.8821 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.009711, allocations: 84.89 kB / 0.8822 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.009885, allocations: 67.77 kB / 0.8823 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.009902, allocations: 3.5 kB / 0.8823 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009895/0.01089, allocations: 396.3 kB / 0.8827 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.042e-05/0.01096, allocations: 43.77 kB / 0.8827 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.01106, allocations: 60.45 kB / 0.8828 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0007604/0.01182, allocations: 454 kB / 0.8832 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.01183, allocations: 1.25 kB / 0.8832 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.951e-06/0.01184, allocations: 3.984 kB / 0.8832 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.01184, allocations: 0 / 0.8832 GB, free: 0.7617 MB / 0.8386 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.001051/0.01289, allocations: 0.5899 MB / 0.8838 GB, free: 136 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.01294, allocations: 8.031 kB / 0.8838 GB, free: 128 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002362/0.01317, allocations: 151.9 kB / 0.8839 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003414/0.01351, allocations: 294.5 kB / 0.8842 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001828/0.0137, allocations: 242.8 kB / 0.8845 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001735/0.01387, allocations: 242.8 kB / 0.8847 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.01402, allocations: 145.5 kB / 0.8848 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.167e-05/0.01409, allocations: 119.4 kB / 0.8849 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001347/0.01423, allocations: 242.8 kB / 0.8852 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004205/0.01465, allocations: 242.7 kB / 0.8854 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.01479, allocations: 246.2 kB / 0.8856 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006941/0.01548, allocations: 0.6927 MB / 0.8863 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.01569, allocations: 269.5 kB / 0.8866 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.056e-05/0.01577, allocations: 130.9 kB / 0.8867 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.502e-05/0.01585, allocations: 123.2 kB / 0.8868 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000101/0.01595, allocations: 152.6 kB / 0.887 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.01595, allocations: 0 / 0.887 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 0.0002083/0.01616, allocations: 53.5 kB / 0.887 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.01627, allocations: 178.5 kB / 0.8872 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000649/0.01692, allocations: 0.5257 MB / 0.8877 GB, free: 12 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.01695, allocations: 25.7 kB / 0.8877 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.01711, allocations: 195.3 kB / 0.8879 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-06/0.01711, allocations: 0 / 0.8879 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/0.01727, allocations: 123.3 kB / 0.888 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000324/0.0176, allocations: 0.5274 MB / 0.8885 GB, free: 11.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.454e-05/0.01767, allocations: 40.64 kB / 0.8886 GB, free: 11.06 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001809/0.01785, allocations: 145.7 kB / 0.8887 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003055/0.01816, allocations: 213.5 kB / 0.8889 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.812e-06/0.01816, allocations: 4 kB / 0.8889 GB, free: 10.65 MB / 0.8542 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005249/0.01869, allocations: 261.1 kB / 0.8892 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.01871, allocations: 8 kB / 0.8892 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.01872, allocations: 0 / 0.8892 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.01874, allocations: 4 kB / 0.8892 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.713e-06/0.01874, allocations: 224 / 0.8892 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.076e-06/0.01875, allocations: 8 kB / 0.8892 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.01891, allocations: 51.45 kB / 0.8892 GB, free: 10.32 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.01892, allocations: 4 kB / 0.8892 GB, free: 10.32 MB / 0.8542 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.0002751/0.0192, allocations: 331.3 kB / 0.8896 GB, free: 9.984 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.01933, allocations: 168.7 kB / 0.8897 GB, free: 9.812 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.01943, allocations: 154.8 kB / 0.8899 GB, free: 9.656 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001515/0.01958, allocations: 272 kB / 0.8901 GB, free: 9.383 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001599/0.01974, allocations: 264.1 kB / 0.8904 GB, free: 9.117 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001657/0.01991, allocations: 276 kB / 0.8906 GB, free: 8.84 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005092/0.02042, allocations: 0.5897 MB / 0.8912 GB, free: 8.207 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.761e-05/0.0205, allocations: 148.9 kB / 0.8914 GB, free: 8.055 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.132e-05/0.02059, allocations: 148.8 kB / 0.8915 GB, free: 7.902 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001613/0.02076, allocations: 264.1 kB / 0.8917 GB, free: 7.637 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001821/0.02094, allocations: 276 kB / 0.892 GB, free: 7.359 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000153/0.02109, allocations: 264.1 kB / 0.8923 GB, free: 7.094 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004303/0.02152, allocations: 272 kB / 0.8925 GB, free: 6.82 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000316/0.02184, allocations: 459.8 kB / 0.893 GB, free: 6.344 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/0.02198, allocations: 184.6 kB / 0.8931 GB, free: 6.156 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000175/0.02215, allocations: 272.1 kB / 0.8934 GB, free: 5.883 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.02233, allocations: 153.1 kB / 0.8935 GB, free: 5.727 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.02247, allocations: 268 kB / 0.8938 GB, free: 5.457 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.531e-05/0.02256, allocations: 152.9 kB / 0.8939 GB, free: 5.301 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003632/0.02292, allocations: 319 kB / 0.8942 GB, free: 4.988 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.02292, allocations: 0 / 0.8942 GB, free: 4.988 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004186/0.02334, allocations: 87.88 kB / 0.8943 GB, free: 4.902 MB / 0.8542 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.0005482/0.02389, allocations: 358.1 kB / 0.8947 GB, free: 4.543 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002444/0.02413, allocations: 108.9 kB / 0.8948 GB, free: 4.43 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.02413, allocations: 0 / 0.8948 GB, free: 4.43 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.492e-06/0.02414, allocations: 448 / 0.8948 GB, free: 4.43 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007068/0.02484, allocations: 0.7155 MB / 0.8955 GB, free: 3.711 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008388/0.02568, allocations: 0.5069 MB / 0.896 GB, free: 3.172 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001875/0.02587, allocations: 156 kB / 0.8961 GB, free: 2.996 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.23e-05/0.02588, allocations: 8 kB / 0.8961 GB, free: 2.988 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.797e-05/0.02591, allocations: 8.5 kB / 0.8961 GB, free: 2.98 MB / 0.8542 GB Notification: Performance of SimCode: time 4.21e-07/0.02591, allocations: 0 / 0.8961 GB, free: 2.98 MB / 0.8542 GB Notification: Performance of Templates: time 0.008358/0.03427, allocations: 3.068 MB / 0.8991 GB, free: 15.95 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.146791388047859]