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.001025/0.001025, allocations: 93.06 kB / 19.65 MB, free: 280 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.001565/0.001565, allocations: 173 kB / 23.02 MB, free: 1.551 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.9305/0.9305, allocations: 177.2 MB / 203.4 MB, free: 5.641 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 1.972/1.972, allocations: 429.5 MB / 0.6732 GB, free: 4.055 MB / 0.6355 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_med,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cab.[0-9,]+..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.[0-9,]+..Amp",fileNamePrefix="Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.8781 GB, free: 6.348 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.389e-05/2.582e-05, allocations: 13.2 kB / 0.8781 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001905/0.001931, allocations: 1.481 MB / 0.8796 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002327/0.004258, allocations: 2.645 MB / 0.8822 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.745e-05/0.004286, allocations: 3.938 kB / 0.8822 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001255/0.00554, allocations: 0.5721 MB / 0.8827 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.562e-05/0.005606, allocations: 23.91 kB / 0.8828 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 3.627e-06/0.005609, allocations: 0 / 0.8828 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002866/0.005896, allocations: 170.7 kB / 0.8829 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 5.542e-05/0.005952, allocations: 12.59 kB / 0.8829 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.577e-05/0.006047, allocations: 83.78 kB / 0.883 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.006155, allocations: 67.77 kB / 0.8831 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.00617, allocations: 4 kB / 0.8831 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006602/0.00683, allocations: 399.5 kB / 0.8835 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.319e-05/0.006893, allocations: 39.78 kB / 0.8835 GB, free: 0.8555 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.894e-05/0.006962, allocations: 59.86 kB / 0.8836 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004673/0.007429, allocations: 430.1 kB / 0.884 GB, free: 384 kB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.007432, allocations: 0 / 0.884 GB, free: 384 kB / 0.8386 GB Notification: Performance of FrontEnd: time 6.01e-07/0.007432, allocations: 0 / 0.884 GB, free: 384 kB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.007436, allocations: 4 kB / 0.884 GB, free: 380 kB / 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.0005657/0.008002, allocations: 0.5888 MB / 0.8845 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.008037, allocations: 12.03 kB / 0.8846 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.008148, allocations: 151.9 kB / 0.8847 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.008312, allocations: 286.5 kB / 0.885 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.973e-05/0.008372, allocations: 242.8 kB / 0.8852 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.307e-05/0.008435, allocations: 242.8 kB / 0.8854 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.847e-05/0.008503, allocations: 157.4 kB / 0.8856 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.914e-05/0.008532, allocations: 119.4 kB / 0.8857 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.524e-05/0.008587, allocations: 238.8 kB / 0.8859 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.842e-05/0.008646, allocations: 238.8 kB / 0.8862 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.31e-05/0.008709, allocations: 246.3 kB / 0.8864 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000362/0.009071, allocations: 0.6888 MB / 0.8871 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.009172, allocations: 277.4 kB / 0.8873 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.977e-05/0.009212, allocations: 130.9 kB / 0.8875 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.221e-05/0.009244, allocations: 119.2 kB / 0.8876 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.331e-05/0.009297, allocations: 156.6 kB / 0.8877 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 1.263e-06/0.009298, allocations: 0 / 0.8877 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 0.0001211/0.009419, allocations: 49.56 kB / 0.8878 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.257e-05/0.009492, allocations: 174.5 kB / 0.8879 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003541/0.009846, allocations: 482.4 kB / 0.8884 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.009859, allocations: 29.69 kB / 0.8884 GB, free: 11.63 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.57e-05/0.009955, allocations: 199.3 kB / 0.8886 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-06/0.009958, allocations: 0 / 0.8886 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.117e-05/0.01005, allocations: 131.3 kB / 0.8887 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.0102, allocations: 0.5235 MB / 0.8892 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.933e-05/0.01024, allocations: 40.64 kB / 0.8893 GB, free: 10.72 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.475e-05/0.01034, allocations: 145.7 kB / 0.8894 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001723/0.01051, allocations: 233.5 kB / 0.8896 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.01052, allocations: 4 kB / 0.8897 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003338/0.01085, allocations: 265.1 kB / 0.8899 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.01086, allocations: 8 kB / 0.8899 GB, free: 10.01 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.01087, allocations: 0 / 0.8899 GB, free: 10.01 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.01088, allocations: 7.938 kB / 0.8899 GB, free: 10 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.547e-06/0.01089, allocations: 224 / 0.8899 GB, free: 10 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.01089, allocations: 8 kB / 0.8899 GB, free: 9.996 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.161e-05/0.01099, allocations: 47.45 kB / 0.89 GB, free: 9.949 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.01099, allocations: 4 kB / 0.89 GB, free: 9.945 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.000113/0.01111, allocations: 283.8 kB / 0.8902 GB, free: 9.656 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.983e-05/0.01117, allocations: 172.6 kB / 0.8904 GB, free: 9.48 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.692e-05/0.01121, allocations: 154.8 kB / 0.8906 GB, free: 9.324 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.574e-05/0.01128, allocations: 268 kB / 0.8908 GB, free: 9.055 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.906e-05/0.01135, allocations: 272.1 kB / 0.8911 GB, free: 8.781 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.624e-05/0.01141, allocations: 272 kB / 0.8913 GB, free: 8.508 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002406/0.01166, allocations: 0.5857 MB / 0.8919 GB, free: 7.879 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.71e-05/0.01169, allocations: 148.9 kB / 0.892 GB, free: 7.727 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.383e-05/0.01174, allocations: 156.8 kB / 0.8922 GB, free: 7.566 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.279e-05/0.0118, allocations: 268.1 kB / 0.8925 GB, free: 7.297 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.664e-05/0.01187, allocations: 268.1 kB / 0.8927 GB, free: 7.027 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-05/0.01193, allocations: 272 kB / 0.893 GB, free: 6.754 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.687e-05/0.012, allocations: 264.1 kB / 0.8932 GB, free: 6.488 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.01213, allocations: 471.7 kB / 0.8937 GB, free: 6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.936e-05/0.01219, allocations: 168.8 kB / 0.8938 GB, free: 5.828 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.496e-05/0.01226, allocations: 272 kB / 0.8941 GB, free: 5.555 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.656e-05/0.01235, allocations: 157.2 kB / 0.8942 GB, free: 5.395 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.113e-05/0.01242, allocations: 268 kB / 0.8945 GB, free: 5.125 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.736e-05/0.01246, allocations: 148.9 kB / 0.8946 GB, free: 4.973 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001599/0.01262, allocations: 267.1 kB / 0.8949 GB, free: 4.711 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01262, allocations: 3.938 kB / 0.8949 GB, free: 4.707 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002731/0.01289, allocations: 87.81 kB / 0.895 GB, free: 4.621 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.000306/0.0132, allocations: 354.2 kB / 0.8953 GB, free: 4.266 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001518/0.01335, allocations: 108.8 kB / 0.8954 GB, free: 4.156 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01335, allocations: 0 / 0.8954 GB, free: 4.156 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.01335, allocations: 448 / 0.8954 GB, free: 4.156 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.01369, allocations: 0.7155 MB / 0.8961 GB, free: 3.438 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006362/0.01433, allocations: 487.1 kB / 0.8966 GB, free: 2.93 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.614e-05/0.01438, allocations: 95.28 kB / 0.8967 GB, free: 2.816 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.171e-05/0.01439, allocations: 7.938 kB / 0.8967 GB, free: 2.809 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.94e-05/0.01441, allocations: 8.5 kB / 0.8967 GB, free: 2.801 MB / 0.8542 GB Notification: Performance of SimCode: time 5.71e-07/0.01441, allocations: 0 / 0.8967 GB, free: 2.801 MB / 0.8542 GB Notification: Performance of Templates: time 0.005974/0.02039, allocations: 4.371 MB / 0.901 GB, free: 14.45 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","",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.2669209274463356]