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.0009054/0.0009054, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009051/0.0009051, allocations: 169 kB / 23.27 MB, free: 1.223 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.9483/0.9483, allocations: 177.2 MB / 203.7 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] 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 2.581/2.581, allocations: 438.1 MB / 0.682 GB, free: 14.21 MB / 0.6511 GB " [Timeout remaining time 177] 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.[0-9,]+..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.[0-9,]+..Amp",fileNamePrefix="Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.459e-06/4.459e-06, allocations: 0 / 0.8897 GB, free: 9.82 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.916e-05/4.362e-05, allocations: 5.406 kB / 0.8897 GB, free: 9.816 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002557/0.0026, allocations: 1.469 MB / 0.8911 GB, free: 8.332 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001884/0.004484, allocations: 1.904 MB / 0.893 GB, free: 6.422 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.308e-05/0.004527, allocations: 0 / 0.893 GB, free: 6.422 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001051/0.005578, allocations: 369.7 kB / 0.8934 GB, free: 6.059 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.86e-05/0.005636, allocations: 23.78 kB / 0.8934 GB, free: 6.035 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 3.717e-06/0.00564, allocations: 0 / 0.8934 GB, free: 6.035 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002673/0.005907, allocations: 143 kB / 0.8935 GB, free: 5.895 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 6.421e-05/0.005971, allocations: 5.688 kB / 0.8935 GB, free: 5.887 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 9.418e-05/0.006066, allocations: 59.88 kB / 0.8936 GB, free: 5.828 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.006206, allocations: 55.83 kB / 0.8936 GB, free: 5.773 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.00623, allocations: 4 kB / 0.8936 GB, free: 5.77 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000383/0.006613, allocations: 167.9 kB / 0.8938 GB, free: 5.605 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 6.443e-05/0.006677, allocations: 35.84 kB / 0.8938 GB, free: 5.57 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 6.528e-05/0.006743, allocations: 51.86 kB / 0.8939 GB, free: 5.52 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003752/0.007118, allocations: 286.8 kB / 0.8942 GB, free: 5.238 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.007123, allocations: 4 kB / 0.8942 GB, free: 5.234 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.635e-06/0.007126, allocations: 0 / 0.8942 GB, free: 5.234 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.274e-05/0.007138, allocations: 0 / 0.8942 GB, free: 5.234 MB / 0.8542 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.0006221/0.007761, allocations: 0.5268 MB / 0.8947 GB, free: 4.672 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.007806, allocations: 8.031 kB / 0.8947 GB, free: 4.664 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.007935, allocations: 140 kB / 0.8948 GB, free: 4.527 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.008145, allocations: 271.1 kB / 0.8951 GB, free: 4.234 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.524e-05/0.00822, allocations: 242.8 kB / 0.8953 GB, free: 3.996 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.764e-05/0.008298, allocations: 246.7 kB / 0.8955 GB, free: 3.754 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.317e-05/0.008371, allocations: 153.5 kB / 0.8957 GB, free: 3.598 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.743e-05/0.008408, allocations: 119.4 kB / 0.8958 GB, free: 3.48 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.425e-05/0.008483, allocations: 242.5 kB / 0.896 GB, free: 3.242 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.889e-05/0.008552, allocations: 246.3 kB / 0.8963 GB, free: 3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.676e-05/0.008618, allocations: 242.3 kB / 0.8965 GB, free: 2.762 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003366/0.008955, allocations: 0.6037 MB / 0.8971 GB, free: 2.133 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.00907, allocations: 265.4 kB / 0.8973 GB, free: 1.859 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.372e-05/0.009124, allocations: 126.9 kB / 0.8975 GB, free: 1.73 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.859e-05/0.009162, allocations: 119.2 kB / 0.8976 GB, free: 1.613 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.33e-05/0.009226, allocations: 160.5 kB / 0.8977 GB, free: 1.445 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 1.262e-06/0.009227, allocations: 4 kB / 0.8977 GB, free: 1.441 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 0.0001585/0.009385, allocations: 49.55 kB / 0.8978 GB, free: 1.387 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.892e-05/0.009464, allocations: 174.6 kB / 0.8979 GB, free: 1.203 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002865/0.009751, allocations: 363.9 kB / 0.8983 GB, free: 0.8281 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.009767, allocations: 29.7 kB / 0.8983 GB, free: 0.793 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.836e-05/0.009865, allocations: 171.3 kB / 0.8985 GB, free: 0.6211 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-06/0.009867, allocations: 0 / 0.8985 GB, free: 0.6211 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.954e-05/0.009947, allocations: 91.27 kB / 0.8986 GB, free: 0.5234 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002119/0.01016, allocations: 0.5157 MB / 0.8991 GB, free: 15.99 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.297e-05/0.0102, allocations: 16 kB / 0.8991 GB, free: 15.98 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.879e-05/0.01028, allocations: 105.7 kB / 0.8992 GB, free: 15.85 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.01041, allocations: 153.7 kB / 0.8993 GB, free: 15.67 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.01042, allocations: 0 / 0.8993 GB, free: 15.67 MB / 0.8698 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002863/0.0107, allocations: 169.3 kB / 0.8995 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.01072, allocations: 10.34 kB / 0.8995 GB, free: 15.49 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.01073, allocations: 4 kB / 0.8995 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.01075, allocations: 4 kB / 0.8995 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.402e-06/0.01075, allocations: 3.984 kB / 0.8995 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.01076, allocations: 7.938 kB / 0.8995 GB, free: 15.47 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.6e-05/0.01085, allocations: 27.67 kB / 0.8996 GB, free: 15.44 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.01085, allocations: 8 kB / 0.8996 GB, free: 15.43 MB / 0.8698 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.0001566/0.01101, allocations: 287.9 kB / 0.8998 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.738e-05/0.01108, allocations: 156.8 kB / 0.9 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.901e-05/0.01115, allocations: 165.6 kB / 0.9001 GB, free: 14.81 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.785e-05/0.01122, allocations: 272.2 kB / 0.9004 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.726e-05/0.01128, allocations: 268.1 kB / 0.9007 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.051e-05/0.01135, allocations: 272 kB / 0.9009 GB, free: 13.99 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002307/0.01158, allocations: 0.5122 MB / 0.9014 GB, free: 13.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.073e-05/0.01162, allocations: 148.8 kB / 0.9016 GB, free: 13.29 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.287e-05/0.01167, allocations: 144.9 kB / 0.9017 GB, free: 13.14 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-05/0.01174, allocations: 280 kB / 0.902 GB, free: 12.86 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.362e-05/0.01181, allocations: 268 kB / 0.9022 GB, free: 12.59 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.636e-05/0.01189, allocations: 264.1 kB / 0.9025 GB, free: 12.33 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.322e-05/0.01197, allocations: 272 kB / 0.9027 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.01214, allocations: 467.8 kB / 0.9032 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.591e-05/0.01222, allocations: 160.8 kB / 0.9033 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.734e-05/0.01231, allocations: 268.1 kB / 0.9036 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.613e-05/0.0124, allocations: 152.8 kB / 0.9037 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.048e-05/0.01248, allocations: 268.1 kB / 0.904 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.29e-05/0.01253, allocations: 148.8 kB / 0.9041 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001196/0.01264, allocations: 213.1 kB / 0.9043 GB, free: 10.35 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.01264, allocations: 4 kB / 0.9043 GB, free: 10.35 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003002/0.01294, allocations: 63.94 kB / 0.9044 GB, free: 10.29 MB / 0.8698 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.0003918/0.01334, allocations: 338.4 kB / 0.9047 GB, free: 9.945 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001589/0.0135, allocations: 67.58 kB / 0.9048 GB, free: 9.875 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.0135, allocations: 0 / 0.9048 GB, free: 9.875 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.425e-06/0.0135, allocations: 4.438 kB / 0.9048 GB, free: 9.871 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.01389, allocations: 0.7067 MB / 0.9055 GB, free: 9.16 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006371/0.01452, allocations: 396.9 kB / 0.9059 GB, free: 8.746 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.357e-05/0.01458, allocations: 79.33 kB / 0.9059 GB, free: 8.648 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 1.348e-05/0.01459, allocations: 7.984 kB / 0.9059 GB, free: 8.641 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.446e-05/0.01464, allocations: 78.2 kB / 0.906 GB, free: 8.562 MB / 0.8698 GB Notification: Performance of SimCode: time 5.51e-07/0.01465, allocations: 0 / 0.906 GB, free: 8.562 MB / 0.8698 GB Notification: Performance of Templates: time 0.005301/0.01995, allocations: 2.782 MB / 0.9087 GB, free: 5.789 MB / 0.8698 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.609458382707089]