Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009109/0.0009109, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.0009875/0.0009875, allocations: 165 kB / 23.82 MB, free: 0.7461 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.088/1.088, allocations: 177.1 MB / 204.2 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.936/1.936, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.[0-9,]+..Amp",fileNamePrefix="Buildings_11_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_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.7871 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.088e-05/3.273e-05, allocations: 3.031 kB / 0.7871 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.005621/0.005654, allocations: 1.476 MB / 0.7885 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.006244/0.0119, allocations: 2.64 MB / 0.7911 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.689e-05/0.01193, allocations: 0 / 0.7911 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.004778/0.01671, allocations: 0.5499 MB / 0.7916 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.969e-05/0.01679, allocations: 33.11 kB / 0.7917 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 4.067e-06/0.0168, allocations: 0 / 0.7917 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000264/0.01706, allocations: 166.8 kB / 0.7918 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 5.291e-05/0.01711, allocations: 14.19 kB / 0.7918 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.01723, allocations: 87.72 kB / 0.7919 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.01735, allocations: 59.83 kB / 0.792 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.01737, allocations: 4 kB / 0.792 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008863/0.01826, allocations: 407 kB / 0.7924 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.645e-05/0.01832, allocations: 32.95 kB / 0.7924 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.01844, allocations: 59.8 kB / 0.7925 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.003931/0.02237, allocations: 438.1 kB / 0.7929 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.02237, allocations: 0.5938 kB / 0.7929 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.743e-06/0.02238, allocations: 0.5312 kB / 0.7929 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.02238, allocations: 0 / 0.7929 GB, free: 6.605 MB / 0.7448 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.0007507/0.02313, allocations: 0.5903 MB / 0.7935 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.02318, allocations: 8.031 kB / 0.7935 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001567/0.02333, allocations: 145.1 kB / 0.7936 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.02354, allocations: 294.4 kB / 0.7939 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.59e-05/0.02361, allocations: 242.8 kB / 0.7941 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.954e-05/0.02368, allocations: 243.7 kB / 0.7943 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.243e-05/0.02375, allocations: 145.5 kB / 0.7945 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.35e-05/0.02379, allocations: 124.9 kB / 0.7946 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.142e-05/0.02386, allocations: 246.7 kB / 0.7948 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.909e-05/0.02393, allocations: 242.8 kB / 0.7951 GB, free: 4.289 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.697e-05/0.02399, allocations: 246.3 kB / 0.7953 GB, free: 4.047 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004054/0.0244, allocations: 0.6896 MB / 0.796 GB, free: 3.324 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.0245, allocations: 269.4 kB / 0.7962 GB, free: 3.047 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.995e-05/0.02454, allocations: 131.8 kB / 0.7964 GB, free: 2.914 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/0.02457, allocations: 119.2 kB / 0.7965 GB, free: 2.797 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.429e-05/0.02462, allocations: 156.6 kB / 0.7966 GB, free: 2.633 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.02462, allocations: 1.344 kB / 0.7966 GB, free: 2.633 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 0.003179/0.0278, allocations: 57.45 kB / 0.7967 GB, free: 2.57 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/0.02786, allocations: 170.6 kB / 0.7968 GB, free: 2.391 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003203/0.02818, allocations: 483.4 kB / 0.7973 GB, free: 1.898 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.02819, allocations: 29.7 kB / 0.7973 GB, free: 1.863 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.118e-05/0.02827, allocations: 195.3 kB / 0.7975 GB, free: 1.664 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.966e-06/0.02827, allocations: 2.312 kB / 0.7975 GB, free: 1.664 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.525e-05/0.02836, allocations: 123.3 kB / 0.7976 GB, free: 1.535 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.02848, allocations: 0.5235 MB / 0.7981 GB, free: 1 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.103e-05/0.02855, allocations: 48.64 kB / 0.7982 GB, free: 0.9531 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.31e-05/0.02864, allocations: 137.7 kB / 0.7983 GB, free: 0.793 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/0.02882, allocations: 233.5 kB / 0.7985 GB, free: 0.5352 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.02882, allocations: 3.438 kB / 0.7985 GB, free: 0.5352 MB / 0.7448 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004726/0.02929, allocations: 269.1 kB / 0.7988 GB, free: 272 kB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.02932, allocations: 7.984 kB / 0.7988 GB, free: 264 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.02933, allocations: 4 kB / 0.7988 GB, free: 260 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.02935, allocations: 0 / 0.7988 GB, free: 260 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.152e-06/0.02935, allocations: 4 kB / 0.7988 GB, free: 256 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.02936, allocations: 0 / 0.7988 GB, free: 256 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.02947, allocations: 51.45 kB / 0.7989 GB, free: 204 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.118e-06/0.02948, allocations: 4 kB / 0.7989 GB, free: 200 kB / 0.7448 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.000149/0.02963, allocations: 288.4 kB / 0.7991 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.107e-05/0.0297, allocations: 173.3 kB / 0.7993 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.84e-05/0.02977, allocations: 158.8 kB / 0.7995 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003572/0.03012, allocations: 268.6 kB / 0.7997 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-05/0.03018, allocations: 265.5 kB / 0.8 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-05/0.03024, allocations: 279.9 kB / 0.8002 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/0.03051, allocations: 0.5819 MB / 0.8008 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.002e-05/0.03055, allocations: 148.8 kB / 0.801 GB, free: 13.98 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.119e-05/0.03059, allocations: 149.4 kB / 0.8011 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.631e-05/0.03067, allocations: 272.7 kB / 0.8014 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.169e-05/0.03075, allocations: 268 kB / 0.8016 GB, free: 13.28 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.783e-05/0.0308, allocations: 266.2 kB / 0.8019 GB, free: 13.02 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.315e-05/0.03086, allocations: 268.1 kB / 0.8021 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001335/0.03099, allocations: 471.7 kB / 0.8026 GB, free: 12.26 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 6.178e-05/0.03105, allocations: 172.6 kB / 0.8027 GB, free: 12.08 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.174e-05/0.03112, allocations: 272.1 kB / 0.803 GB, free: 11.81 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.793e-05/0.03121, allocations: 152.3 kB / 0.8031 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.045e-05/0.03127, allocations: 276 kB / 0.8034 GB, free: 11.38 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.529e-05/0.03131, allocations: 152.9 kB / 0.8035 GB, free: 11.22 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001663/0.03147, allocations: 263.1 kB / 0.8038 GB, free: 10.97 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.03147, allocations: 0 / 0.8038 GB, free: 10.97 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003181/0.03179, allocations: 87.88 kB / 0.8039 GB, free: 10.88 MB / 0.7605 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.0003616/0.03215, allocations: 360.8 kB / 0.8042 GB, free: 10.53 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001671/0.03232, allocations: 112.8 kB / 0.8043 GB, free: 10.41 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.03232, allocations: 0 / 0.8043 GB, free: 10.41 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 1.482e-06/0.03233, allocations: 0 / 0.8043 GB, free: 10.41 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.03267, allocations: 0.7115 MB / 0.805 GB, free: 9.699 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007524/0.03342, allocations: 0.4893 MB / 0.8055 GB, free: 9.18 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.264e-05/0.0335, allocations: 99.28 kB / 0.8056 GB, free: 9.062 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 1.286e-05/0.03351, allocations: 4.25 kB / 0.8056 GB, free: 9.059 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.116e-05/0.03353, allocations: 8.5 kB / 0.8056 GB, free: 9.051 MB / 0.7605 GB Notification: Performance of SimCode: time 1.243e-06/0.03353, allocations: 0 / 0.8056 GB, free: 9.051 MB / 0.7605 GB Notification: Performance of Templates: time 0.005512/0.03904, allocations: 3.052 MB / 0.8086 GB, free: 6.023 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.709089493844658]