Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001946/0.001946, allocations: 85.48 kB / 19.44 MB, free: 344 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.002236/0.002236, allocations: 173.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.607/1.607, allocations: 177.1 MB / 203.1 MB, free: 5.625 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.399/3.399, allocations: 429.5 MB / 0.6729 GB, free: 4.027 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_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_latest_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_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.8774 GB, free: 6.73 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.232e-05/3.396e-05, allocations: 6.938 kB / 0.8774 GB, free: 6.727 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.004178/0.004212, allocations: 1.438 MB / 0.8788 GB, free: 5.297 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.004387/0.008599, allocations: 1.913 MB / 0.8807 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.093e-05/0.00864, allocations: 1.094 kB / 0.8807 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001664/0.0103, allocations: 364.6 kB / 0.881 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.639e-05/0.01038, allocations: 23.34 kB / 0.8811 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 5.541e-06/0.01039, allocations: 0 / 0.8811 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003753/0.01076, allocations: 131.1 kB / 0.8812 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 5.717e-05/0.01082, allocations: 5.688 kB / 0.8812 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.01096, allocations: 59.81 kB / 0.8813 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001847/0.01115, allocations: 51.89 kB / 0.8813 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/0.01117, allocations: 7.938 kB / 0.8813 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006426/0.01182, allocations: 175.8 kB / 0.8815 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.042e-05/0.0119, allocations: 32.42 kB / 0.8815 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.01201, allocations: 49.27 kB / 0.8816 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0007338/0.01274, allocations: 298.8 kB / 0.8818 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.01275, allocations: 4 kB / 0.8818 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.154e-06/0.01275, allocations: 4 kB / 0.8818 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.01276, allocations: 1.531 kB / 0.8818 GB, free: 2.207 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.001204/0.01396, allocations: 0.5225 MB / 0.8824 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.01402, allocations: 12.03 kB / 0.8824 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000281/0.0143, allocations: 140 kB / 0.8825 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004115/0.01471, allocations: 271.1 kB / 0.8828 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001914/0.0149, allocations: 246.8 kB / 0.883 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001856/0.01509, allocations: 238.8 kB / 0.8832 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.01524, allocations: 157.4 kB / 0.8834 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.877e-05/0.01534, allocations: 119.4 kB / 0.8835 GB, free: 468 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001794/0.01552, allocations: 242.5 kB / 0.8837 GB, free: 224 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001966/0.01572, allocations: 242.4 kB / 0.884 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00018/0.0159, allocations: 238.4 kB / 0.8842 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008675/0.01677, allocations: 0.6499 MB / 0.8848 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/0.01703, allocations: 273.4 kB / 0.8851 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.01713, allocations: 130.9 kB / 0.8852 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.863e-05/0.01722, allocations: 119.2 kB / 0.8853 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001316/0.01735, allocations: 152.6 kB / 0.8855 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.01735, allocations: 0 / 0.8855 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 0.0002614/0.01761, allocations: 49.59 kB / 0.8855 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/0.01776, allocations: 174.5 kB / 0.8857 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006849/0.01844, allocations: 404 kB / 0.8861 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/0.01847, allocations: 29.7 kB / 0.8861 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/0.01865, allocations: 175.2 kB / 0.8863 GB, free: 13.51 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.356e-06/0.01866, allocations: 4 kB / 0.8863 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.01881, allocations: 87.27 kB / 0.8863 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0004163/0.01923, allocations: 0.5118 MB / 0.8868 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.713e-05/0.01931, allocations: 24 kB / 0.8869 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001983/0.0195, allocations: 109.8 kB / 0.887 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003199/0.01982, allocations: 157.7 kB / 0.8871 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.01983, allocations: 4 kB / 0.8871 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006324/0.02046, allocations: 177.4 kB / 0.8873 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.02049, allocations: 8 kB / 0.8873 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.0205, allocations: 3.984 kB / 0.8873 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.869e-05/0.02053, allocations: 8.219 kB / 0.8873 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.514e-06/0.02053, allocations: 3.938 kB / 0.8873 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.02055, allocations: 7.938 kB / 0.8873 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.02073, allocations: 27.67 kB / 0.8873 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.02075, allocations: 4 kB / 0.8874 GB, free: 12.3 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.0003243/0.02107, allocations: 303.7 kB / 0.8876 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001654/0.02124, allocations: 164.8 kB / 0.8878 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.02137, allocations: 157.6 kB / 0.8879 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002018/0.02157, allocations: 272.1 kB / 0.8882 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001995/0.02177, allocations: 280 kB / 0.8885 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001986/0.02197, allocations: 272.1 kB / 0.8887 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006446/0.02261, allocations: 0.5506 MB / 0.8893 GB, free: 10.24 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001131/0.02273, allocations: 148.8 kB / 0.8894 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.02283, allocations: 145 kB / 0.8896 GB, free: 9.941 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001859/0.02302, allocations: 276 kB / 0.8898 GB, free: 9.664 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001706/0.02319, allocations: 264.1 kB / 0.8901 GB, free: 9.398 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001739/0.02336, allocations: 272.1 kB / 0.8903 GB, free: 9.125 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001893/0.02355, allocations: 272 kB / 0.8906 GB, free: 8.852 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004171/0.02397, allocations: 459.8 kB / 0.891 GB, free: 8.375 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001795/0.02415, allocations: 168.8 kB / 0.8912 GB, free: 8.203 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005103/0.02466, allocations: 276 kB / 0.8914 GB, free: 7.926 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/0.02493, allocations: 148.9 kB / 0.8916 GB, free: 7.773 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002098/0.02513, allocations: 268 kB / 0.8918 GB, free: 7.504 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001242/0.02526, allocations: 152.8 kB / 0.892 GB, free: 7.348 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004138/0.02567, allocations: 249.1 kB / 0.8922 GB, free: 7.109 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.4e-07/0.02567, allocations: 0 / 0.8922 GB, free: 7.109 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006759/0.02635, allocations: 63.92 kB / 0.8923 GB, free: 7.047 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.0007164/0.02707, allocations: 326.1 kB / 0.8926 GB, free: 6.715 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002795/0.02734, allocations: 71.73 kB / 0.8927 GB, free: 6.641 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.02735, allocations: 0 / 0.8927 GB, free: 6.641 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/0.02735, allocations: 4 kB / 0.8927 GB, free: 6.637 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000939/0.02829, allocations: 0.7028 MB / 0.8934 GB, free: 5.926 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009012/0.02919, allocations: 438.9 kB / 0.8938 GB, free: 5.465 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000201/0.02939, allocations: 118.9 kB / 0.8939 GB, free: 5.328 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.883e-05/0.02941, allocations: 4 kB / 0.8939 GB, free: 5.324 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.456e-05/0.02945, allocations: 8.5 kB / 0.8939 GB, free: 5.316 MB / 0.8542 GB Notification: Performance of SimCode: time 4.71e-07/0.02945, allocations: 0 / 0.8939 GB, free: 5.316 MB / 0.8542 GB Notification: Performance of Templates: time 0.009869/0.03931, allocations: 2.312 MB / 0.8962 GB, free: 3.023 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.946616576984525]