Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008566/0.0008566, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0007816/0.0007816, allocations: 173.9 kB / 23.21 MB, free: 1.352 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 0.8834/0.8834, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.714/1.714, allocations: 377.8 MB / 0.6228 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] 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_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_12_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_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 0.9822 GB, free: 2.137 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.416e-05/1.537e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.133 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001612/0.001628, allocations: 1.43 MB / 0.9836 GB, free: 0.6914 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001902/0.003529, allocations: 2.386 MB / 0.9859 GB, free: 14.3 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.782e-05/0.003557, allocations: 0 / 0.9859 GB, free: 14.3 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009465/0.004504, allocations: 0.5514 MB / 0.9864 GB, free: 13.74 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 3.43e-05/0.004538, allocations: 19.91 kB / 0.9864 GB, free: 13.72 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 4.489e-06/0.004542, allocations: 0 / 0.9864 GB, free: 13.72 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.004736, allocations: 170.8 kB / 0.9866 GB, free: 13.55 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.54e-05/0.004781, allocations: 12.59 kB / 0.9866 GB, free: 13.54 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.439e-05/0.004855, allocations: 83.78 kB / 0.9867 GB, free: 13.46 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.864e-05/0.004954, allocations: 59.84 kB / 0.9868 GB, free: 13.4 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.004968, allocations: 4 kB / 0.9868 GB, free: 13.4 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005352/0.005503, allocations: 411.3 kB / 0.9872 GB, free: 13 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 4.186e-05/0.005545, allocations: 39.78 kB / 0.9872 GB, free: 12.96 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 4.981e-05/0.005595, allocations: 55.86 kB / 0.9872 GB, free: 12.9 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004008/0.005996, allocations: 454.1 kB / 0.9877 GB, free: 12.46 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.005998, allocations: 0 / 0.9877 GB, free: 12.46 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.713e-06/0.005999, allocations: 4 kB / 0.9877 GB, free: 12.45 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.006005, allocations: 3.984 kB / 0.9877 GB, free: 12.45 MB / 0.948 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.0004922/0.006497, allocations: 484.7 kB / 0.9881 GB, free: 11.94 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.006532, allocations: 12.02 kB / 0.9882 GB, free: 11.93 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.386e-05/0.006626, allocations: 104 kB / 0.9883 GB, free: 11.83 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.006785, allocations: 247.8 kB / 0.9885 GB, free: 11.56 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.956e-05/0.006834, allocations: 154.9 kB / 0.9886 GB, free: 11.41 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.669e-05/0.006891, allocations: 166.9 kB / 0.9888 GB, free: 11.25 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.255e-05/0.006954, allocations: 109.5 kB / 0.9889 GB, free: 11.13 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.644e-05/0.00698, allocations: 75.47 kB / 0.989 GB, free: 11.06 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.667e-05/0.007017, allocations: 150.9 kB / 0.9891 GB, free: 10.91 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.151e-05/0.007048, allocations: 150.9 kB / 0.9893 GB, free: 10.76 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.598e-05/0.007084, allocations: 166.4 kB / 0.9894 GB, free: 10.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002356/0.00732, allocations: 493.2 kB / 0.9899 GB, free: 10.09 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.903e-05/0.007379, allocations: 173.1 kB / 0.9901 GB, free: 9.906 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.127e-05/0.0074, allocations: 80.14 kB / 0.9901 GB, free: 9.824 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.00742, allocations: 75.28 kB / 0.9902 GB, free: 9.75 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.007452, allocations: 113.8 kB / 0.9903 GB, free: 9.629 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.007453, allocations: 0 / 0.9903 GB, free: 9.629 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 0.0001053/0.007558, allocations: 57.5 kB / 0.9904 GB, free: 9.566 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.0076, allocations: 134.6 kB / 0.9905 GB, free: 9.422 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002861/0.007886, allocations: 437.3 kB / 0.9909 GB, free: 8.98 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.307e-06/0.007895, allocations: 25.7 kB / 0.9909 GB, free: 8.949 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.321e-05/0.007958, allocations: 128.6 kB / 0.9911 GB, free: 8.82 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.486e-06/0.007962, allocations: 0 / 0.9911 GB, free: 8.82 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.997e-05/0.008022, allocations: 85.67 kB / 0.9911 GB, free: 8.73 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.199e-05/0.008104, allocations: 346.8 kB / 0.9915 GB, free: 8.383 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.008261, allocations: 92.61 kB / 0.9916 GB, free: 8.289 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.008367, allocations: 173.8 kB / 0.9917 GB, free: 8.098 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002095/0.008576, allocations: 309.6 kB / 0.992 GB, free: 7.773 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.008579, allocations: 4 kB / 0.992 GB, free: 7.77 MB / 0.948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003187/0.008898, allocations: 321.2 kB / 0.9923 GB, free: 7.449 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.00891, allocations: 8 kB / 0.9923 GB, free: 7.441 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.008916, allocations: 3.938 kB / 0.9923 GB, free: 7.438 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.008932, allocations: 4 kB / 0.9924 GB, free: 7.434 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.945e-06/0.008935, allocations: 3.938 kB / 0.9924 GB, free: 7.43 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.008941, allocations: 4 kB / 0.9924 GB, free: 7.426 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.359e-05/0.009025, allocations: 47.45 kB / 0.9924 GB, free: 7.379 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.009032, allocations: 8.219 kB / 0.9924 GB, free: 7.371 MB / 0.948 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.0001275/0.00916, allocations: 241.1 kB / 0.9926 GB, free: 7.125 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.009205, allocations: 132.7 kB / 0.9928 GB, free: 6.988 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.226e-05/0.009237, allocations: 114.9 kB / 0.9929 GB, free: 6.871 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.705e-05/0.009274, allocations: 176.3 kB / 0.993 GB, free: 6.691 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.905e-05/0.009313, allocations: 184.3 kB / 0.9932 GB, free: 6.504 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.856e-05/0.009352, allocations: 188.2 kB / 0.9934 GB, free: 6.312 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.009517, allocations: 424.8 kB / 0.9938 GB, free: 5.859 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.178e-05/0.009539, allocations: 105 kB / 0.9939 GB, free: 5.75 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.057e-05/0.00956, allocations: 105 kB / 0.994 GB, free: 5.641 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.711e-05/0.009597, allocations: 188.2 kB / 0.9942 GB, free: 5.449 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.169e-05/0.009639, allocations: 180.3 kB / 0.9944 GB, free: 5.266 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.716e-05/0.009676, allocations: 184.2 kB / 0.9945 GB, free: 5.078 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.469e-05/0.00971, allocations: 176.3 kB / 0.9947 GB, free: 4.898 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.182e-05/0.009802, allocations: 331.5 kB / 0.995 GB, free: 4.551 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.561e-05/0.009848, allocations: 128.8 kB / 0.9951 GB, free: 4.418 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.759e-05/0.009905, allocations: 184.2 kB / 0.9953 GB, free: 4.23 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.27e-05/0.009978, allocations: 105 kB / 0.9954 GB, free: 4.121 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.01002, allocations: 180.3 kB / 0.9956 GB, free: 3.938 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/0.01004, allocations: 104.9 kB / 0.9957 GB, free: 3.828 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001698/0.01021, allocations: 283.1 kB / 0.996 GB, free: 3.555 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.01021, allocations: 4 kB / 0.996 GB, free: 3.551 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000229/0.01044, allocations: 83.88 kB / 0.996 GB, free: 3.469 MB / 0.948 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.0002463/0.01069, allocations: 325.3 kB / 0.9964 GB, free: 3.145 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001338/0.01082, allocations: 119.9 kB / 0.9965 GB, free: 3.027 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.01082, allocations: 0 / 0.9965 GB, free: 3.027 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.01083, allocations: 3.938 kB / 0.9965 GB, free: 3.023 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.01109, allocations: 465.2 kB / 0.9969 GB, free: 2.566 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004273/0.01152, allocations: 0.5102 MB / 0.9974 GB, free: 2.027 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.97e-05/0.01161, allocations: 164.1 kB / 0.9976 GB, free: 1.848 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.809e-05/0.01163, allocations: 8.5 kB / 0.9976 GB, free: 1.84 MB / 0.948 GB Notification: Performance of SimCode: time 6.01e-07/0.01163, allocations: 0 / 0.9976 GB, free: 1.84 MB / 0.948 GB Notification: Performance of Templates: time 0.003219/0.01485, allocations: 3.27 MB / 1.001 GB, free: 14.57 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.679733068682253]