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.0009259/0.0009259, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001689/0.001689, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.9201/0.9201, allocations: 177.2 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.795/1.795, allocations: 377.9 MB / 0.624 GB, free: 8.32 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.[0-9,]+..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.[0-9,]+..Amp",fileNamePrefix="Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.76 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.42e-05/2.566e-05, allocations: 3.734 kB / 0.76 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.0029/0.002926, allocations: 1.462 MB / 0.7614 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002421/0.005347, allocations: 1.935 MB / 0.7633 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.129e-05/0.005378, allocations: 0 / 0.7633 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.00114/0.006519, allocations: 378 kB / 0.7637 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.672e-05/0.006575, allocations: 23.78 kB / 0.7637 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 3.517e-06/0.006579, allocations: 0 / 0.7637 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002298/0.006809, allocations: 136.3 kB / 0.7638 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.475e-05/0.006863, allocations: 6.344 kB / 0.7638 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.354e-05/0.006957, allocations: 63.81 kB / 0.7639 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.007064, allocations: 48.39 kB / 0.7639 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.007081, allocations: 4.75 kB / 0.7639 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003899/0.007471, allocations: 176.6 kB / 0.7641 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.776e-05/0.007529, allocations: 35.84 kB / 0.7641 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.876e-05/0.007598, allocations: 44.64 kB / 0.7642 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004245/0.008022, allocations: 290.8 kB / 0.7645 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.008026, allocations: 5.453 kB / 0.7645 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.01e-07/0.008027, allocations: 0 / 0.7645 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.167e-06/0.008031, allocations: 0 / 0.7645 GB, free: 2.121 MB / 0.7136 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.0005535/0.008585, allocations: 397.1 kB / 0.7648 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.008622, allocations: 8.031 kB / 0.7649 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001338/0.008755, allocations: 93.23 kB / 0.7649 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.008922, allocations: 220.4 kB / 0.7652 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.66e-05/0.008968, allocations: 150.9 kB / 0.7653 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.06e-05/0.009019, allocations: 155.9 kB / 0.7654 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.353e-05/0.009073, allocations: 101.5 kB / 0.7655 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.009095, allocations: 75.47 kB / 0.7656 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.397e-05/0.009139, allocations: 161.6 kB / 0.7658 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.756e-05/0.009187, allocations: 162.5 kB / 0.7659 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.31e-05/0.00923, allocations: 154.5 kB / 0.7661 GB, free: 432 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002217/0.009452, allocations: 365.2 kB / 0.7664 GB, free: 52 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.32e-05/0.009535, allocations: 169.1 kB / 0.7666 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.481e-05/0.00956, allocations: 84.14 kB / 0.7667 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.00958, allocations: 75.28 kB / 0.7667 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.332e-05/0.009623, allocations: 120.8 kB / 0.7668 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.009624, allocations: 0 / 0.7668 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 0.0001386/0.009763, allocations: 37.69 kB / 0.7669 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.009814, allocations: 126.7 kB / 0.767 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004726/0.01029, allocations: 272.7 kB / 0.7673 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.0103, allocations: 25.7 kB / 0.7673 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.674e-05/0.01034, allocations: 108.5 kB / 0.7674 GB, free: 15 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.353e-06/0.01035, allocations: 0 / 0.7674 GB, free: 15 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.974e-05/0.0104, allocations: 67.12 kB / 0.7675 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.798e-05/0.01049, allocations: 330.8 kB / 0.7678 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.404e-05/0.01055, allocations: 34.77 kB / 0.7678 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.272e-05/0.01061, allocations: 77.73 kB / 0.7679 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.01075, allocations: 158.3 kB / 0.768 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.01076, allocations: 0 / 0.768 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003006/0.01106, allocations: 181.9 kB / 0.7682 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.01107, allocations: 12.64 kB / 0.7682 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.01108, allocations: 0 / 0.7682 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.01109, allocations: 5.75 kB / 0.7682 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.939e-06/0.0111, allocations: 0 / 0.7682 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.0111, allocations: 4 kB / 0.7682 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.01121, allocations: 31.67 kB / 0.7683 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-06/0.01122, allocations: 4 kB / 0.7683 GB, free: 14.03 MB / 0.7292 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.0001024/0.01132, allocations: 198.3 kB / 0.7684 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.129e-05/0.01137, allocations: 109 kB / 0.7686 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.794e-05/0.01142, allocations: 121.7 kB / 0.7687 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.292e-05/0.01146, allocations: 176.3 kB / 0.7688 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.533e-05/0.01151, allocations: 182.8 kB / 0.769 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-05/0.01155, allocations: 188.1 kB / 0.7692 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001921/0.01175, allocations: 341.4 kB / 0.7695 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.711e-05/0.01177, allocations: 104.9 kB / 0.7696 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.521e-05/0.0118, allocations: 101.1 kB / 0.7697 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.781e-05/0.01185, allocations: 188.3 kB / 0.7699 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.459e-05/0.01189, allocations: 184.2 kB / 0.7701 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.332e-05/0.01193, allocations: 181.8 kB / 0.7702 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.444e-05/0.01198, allocations: 184.2 kB / 0.7704 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001093/0.01209, allocations: 307.8 kB / 0.7707 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.122e-05/0.01214, allocations: 116.8 kB / 0.7708 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.324e-05/0.0122, allocations: 190.3 kB / 0.771 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.0123, allocations: 104.9 kB / 0.7711 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.813e-05/0.01235, allocations: 180.3 kB / 0.7713 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.616e-05/0.01238, allocations: 105 kB / 0.7714 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.146e-05/0.01247, allocations: 86.7 kB / 0.7715 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.01247, allocations: 0 / 0.7715 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000336/0.0128, allocations: 74.3 kB / 0.7715 GB, free: 10.51 MB / 0.7292 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.0002915/0.0131, allocations: 259.7 kB / 0.7718 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001111/0.01321, allocations: 53.33 kB / 0.7718 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.01321, allocations: 8.625 kB / 0.7718 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/0.01321, allocations: 0 / 0.7718 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.01349, allocations: 468.7 kB / 0.7723 GB, free: 9.734 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005737/0.01407, allocations: 357 kB / 0.7726 GB, free: 9.359 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.303e-05/0.01412, allocations: 80.81 kB / 0.7727 GB, free: 9.262 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.387e-05/0.01414, allocations: 7.984 kB / 0.7727 GB, free: 9.254 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.445e-05/0.01418, allocations: 51.38 kB / 0.7728 GB, free: 9.203 MB / 0.7292 GB Notification: Performance of SimCode: time 4.81e-07/0.01418, allocations: 0 / 0.7728 GB, free: 9.203 MB / 0.7292 GB Notification: Performance of Templates: time 0.006363/0.02054, allocations: 2.789 MB / 0.7755 GB, free: 6.543 MB / 0.7292 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.8519830969162285]