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.001031/0.001031, 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.0009517/0.0009517, allocations: 169.3 kB / 23.02 MB, free: 1.555 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.9683/0.9683, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.128/2.128, allocations: 429.5 MB / 0.6732 GB, free: 4.062 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_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 1.402e-06/1.402e-06, allocations: 0 / 0.8781 GB, free: 6.359 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.42e-05/2.56e-05, allocations: 3.344 kB / 0.8781 GB, free: 6.355 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001855/0.001881, allocations: 1.476 MB / 0.8796 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001597/0.003478, allocations: 1.928 MB / 0.8815 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.205e-05/0.00351, allocations: 4 kB / 0.8815 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0007622/0.004272, allocations: 352.2 kB / 0.8818 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.249e-05/0.004315, allocations: 33.06 kB / 0.8818 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 3.216e-06/0.004318, allocations: 0 / 0.8818 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.004505, allocations: 131.1 kB / 0.882 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.717e-05/0.004543, allocations: 9.688 kB / 0.882 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.381e-05/0.004606, allocations: 59.81 kB / 0.882 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.186e-05/0.004698, allocations: 51.89 kB / 0.8821 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.004715, allocations: 4 kB / 0.8821 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002636/0.004979, allocations: 179.8 kB / 0.8822 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.423e-05/0.005023, allocations: 31.89 kB / 0.8823 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.726e-05/0.005071, allocations: 43.88 kB / 0.8823 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000306/0.005377, allocations: 294.8 kB / 0.8826 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.005378, allocations: 0 / 0.8826 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.12e-07/0.005379, allocations: 4 kB / 0.8826 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.005383, allocations: 0 / 0.8826 GB, free: 1.789 MB / 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.0004984/0.005882, allocations: 0.5152 MB / 0.8831 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.005917, allocations: 11.97 kB / 0.8831 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.006018, allocations: 140 kB / 0.8833 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.00617, allocations: 283 kB / 0.8835 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.615e-05/0.006226, allocations: 246.8 kB / 0.8838 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.318e-05/0.006279, allocations: 242.8 kB / 0.884 GB, free: 316 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.588e-05/0.006335, allocations: 145.5 kB / 0.8841 GB, free: 164 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001078/0.006443, allocations: 123.4 kB / 0.8842 GB, free: 40 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.066e-05/0.006503, allocations: 242.5 kB / 0.8845 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.114e-05/0.006554, allocations: 238.4 kB / 0.8847 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.056e-05/0.006605, allocations: 246.3 kB / 0.8849 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002627/0.006868, allocations: 0.646 MB / 0.8856 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 8.501e-05/0.006953, allocations: 265.4 kB / 0.8858 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.312e-05/0.006986, allocations: 130.9 kB / 0.8859 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.007012, allocations: 119.2 kB / 0.8861 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.141e-05/0.007054, allocations: 156.6 kB / 0.8862 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.007055, allocations: 3.938 kB / 0.8862 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 0.0001041/0.007159, allocations: 49.56 kB / 0.8863 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/0.007207, allocations: 178.5 kB / 0.8864 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/0.007436, allocations: 368.2 kB / 0.8868 GB, free: 13.33 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.007446, allocations: 25.7 kB / 0.8868 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.729e-05/0.007513, allocations: 175.2 kB / 0.887 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-06/0.007516, allocations: 0 / 0.887 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.729e-05/0.007573, allocations: 79.34 kB / 0.887 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.007694, allocations: 0.5157 MB / 0.8876 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.632e-05/0.00773, allocations: 24 kB / 0.8876 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.11e-05/0.007801, allocations: 109.7 kB / 0.8877 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.007925, allocations: 169.7 kB / 0.8878 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.007927, allocations: 4 kB / 0.8878 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002714/0.008198, allocations: 189.3 kB / 0.888 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.008213, allocations: 8 kB / 0.888 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.00822, allocations: 0 / 0.888 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.008238, allocations: 4 kB / 0.888 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.37e-06/0.008243, allocations: 3.938 kB / 0.888 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.00825, allocations: 4 kB / 0.888 GB, free: 11.94 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.614e-05/0.008316, allocations: 35.66 kB / 0.8881 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.008323, allocations: 4 kB / 0.8881 GB, free: 11.9 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 9.939e-05/0.008423, allocations: 287.9 kB / 0.8884 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.879e-05/0.008471, allocations: 160.8 kB / 0.8885 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.34e-05/0.008515, allocations: 157.6 kB / 0.8887 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.151e-05/0.008566, allocations: 272 kB / 0.8889 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.532e-05/0.008622, allocations: 276.1 kB / 0.8892 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.073e-05/0.008682, allocations: 268 kB / 0.8894 GB, free: 10.47 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001941/0.008876, allocations: 0.5467 MB / 0.89 GB, free: 9.879 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.861e-05/0.008905, allocations: 148.9 kB / 0.8901 GB, free: 9.727 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.02e-05/0.008935, allocations: 153 kB / 0.8903 GB, free: 9.57 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.173e-05/0.008987, allocations: 268.1 kB / 0.8905 GB, free: 9.301 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.735e-05/0.009044, allocations: 276 kB / 0.8908 GB, free: 9.023 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.173e-05/0.009096, allocations: 264.1 kB / 0.891 GB, free: 8.758 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.349e-05/0.009149, allocations: 272 kB / 0.8913 GB, free: 8.484 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002016/0.009351, allocations: 463.8 kB / 0.8917 GB, free: 8.004 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.929e-05/0.0094, allocations: 164.7 kB / 0.8919 GB, free: 7.836 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.56e-05/0.009466, allocations: 272.1 kB / 0.8922 GB, free: 7.562 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.321e-05/0.009539, allocations: 152.8 kB / 0.8923 GB, free: 7.406 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.752e-05/0.009597, allocations: 272 kB / 0.8926 GB, free: 7.133 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-05/0.009626, allocations: 144.9 kB / 0.8927 GB, free: 6.984 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000108/0.009734, allocations: 217.1 kB / 0.8929 GB, free: 6.777 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.009734, allocations: 0 / 0.8929 GB, free: 6.777 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002207/0.009954, allocations: 71.92 kB / 0.893 GB, free: 6.707 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.0002439/0.0102, allocations: 318.1 kB / 0.8933 GB, free: 6.383 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001157/0.01031, allocations: 76.25 kB / 0.8933 GB, free: 6.305 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.01032, allocations: 4.125 kB / 0.8933 GB, free: 6.301 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.183e-06/0.01032, allocations: 4 kB / 0.8934 GB, free: 6.297 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.01061, allocations: 0.7028 MB / 0.894 GB, free: 5.586 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005159/0.01113, allocations: 402.7 kB / 0.8944 GB, free: 5.16 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.393e-05/0.01117, allocations: 87.3 kB / 0.8945 GB, free: 5.055 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.777e-06/0.01118, allocations: 0 / 0.8945 GB, free: 5.055 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.682e-05/0.0112, allocations: 8.5 kB / 0.8945 GB, free: 5.047 MB / 0.8542 GB Notification: Performance of SimCode: time 5.21e-07/0.0112, allocations: 0 / 0.8945 GB, free: 5.047 MB / 0.8542 GB Notification: Performance of Templates: time 0.003812/0.01501, allocations: 2.319 MB / 0.8968 GB, free: 2.75 MB / 0.8542 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.538117125164717]