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.0009931/0.0009931, allocations: 73.88 kB / 20.66 MB, free: 3.848 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.0009889/0.0009889, allocations: 173 kB / 24.06 MB, free: 456 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 1.005/1.005, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.133/2.133, allocations: 429.5 MB / 0.6743 GB, free: 3.926 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 2.315e-06/2.315e-06, allocations: 0 / 0.8794 GB, free: 6.078 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.318e-05/2.55e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.074 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002078/0.002103, allocations: 1.473 MB / 0.8808 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00244/0.004543, allocations: 2.615 MB / 0.8834 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.139e-05/0.004574, allocations: 0 / 0.8834 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001256/0.00583, allocations: 0.5664 MB / 0.8839 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.297e-05/0.005883, allocations: 31.78 kB / 0.8839 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 4.288e-06/0.005887, allocations: 0 / 0.8839 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002468/0.006134, allocations: 166.8 kB / 0.8841 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 5.772e-05/0.006192, allocations: 8.594 kB / 0.8841 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.91e-05/0.006291, allocations: 91.77 kB / 0.8842 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.006403, allocations: 63.83 kB / 0.8843 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.006419, allocations: 0 / 0.8843 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007341/0.007153, allocations: 403.4 kB / 0.8846 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.075e-05/0.007224, allocations: 35.84 kB / 0.8847 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.007332, allocations: 59.8 kB / 0.8847 GB, free: 0.5938 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005226/0.007855, allocations: 430.2 kB / 0.8851 GB, free: 176 kB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.007857, allocations: 4 kB / 0.8851 GB, free: 172 kB / 0.8386 GB Notification: Performance of FrontEnd: time 1.082e-06/0.007858, allocations: 4 kB / 0.8851 GB, free: 168 kB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.728e-06/0.007863, allocations: 0 / 0.8851 GB, free: 168 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.001145/0.009007, allocations: 0.589 MB / 0.8857 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.00905, allocations: 15.97 kB / 0.8857 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/0.009175, allocations: 147.9 kB / 0.8859 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.00937, allocations: 286.5 kB / 0.8862 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.511e-05/0.009455, allocations: 242.8 kB / 0.8864 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.407e-05/0.009529, allocations: 246.7 kB / 0.8866 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.325e-05/0.009602, allocations: 149.4 kB / 0.8868 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.584e-05/0.009638, allocations: 123.4 kB / 0.8869 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-05/0.009704, allocations: 242.8 kB / 0.8871 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.834e-05/0.009773, allocations: 242.5 kB / 0.8873 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.642e-05/0.009839, allocations: 238.4 kB / 0.8876 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003469/0.01019, allocations: 0.6347 MB / 0.8882 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.0103, allocations: 273.4 kB / 0.8885 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.999e-05/0.01035, allocations: 130.9 kB / 0.8886 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.754e-05/0.01039, allocations: 119.2 kB / 0.8887 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.46e-05/0.01044, allocations: 152.6 kB / 0.8888 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 1.513e-06/0.01044, allocations: 0 / 0.8888 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 0.0001309/0.01057, allocations: 53.5 kB / 0.8889 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.01064, allocations: 174.6 kB / 0.8891 GB, free: 12.01 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000327/0.01097, allocations: 478.2 kB / 0.8895 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.01098, allocations: 25.7 kB / 0.8895 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.01112, allocations: 203.3 kB / 0.8897 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.046e-06/0.01112, allocations: 0 / 0.8897 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.01126, allocations: 127.2 kB / 0.8898 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.01142, allocations: 0.5312 MB / 0.8904 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.112e-05/0.01146, allocations: 32.64 kB / 0.8904 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.335e-05/0.01155, allocations: 133.7 kB / 0.8905 GB, free: 10.42 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.01174, allocations: 217.4 kB / 0.8907 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.01174, allocations: 4 kB / 0.8907 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003528/0.01209, allocations: 245.1 kB / 0.891 GB, free: 9.93 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.01211, allocations: 4 kB / 0.891 GB, free: 9.926 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.01212, allocations: 3.984 kB / 0.891 GB, free: 9.922 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.01214, allocations: 4 kB / 0.891 GB, free: 9.918 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.162e-06/0.01214, allocations: 8 kB / 0.891 GB, free: 9.91 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.01215, allocations: 0 / 0.891 GB, free: 9.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.01226, allocations: 47.45 kB / 0.891 GB, free: 9.863 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.01228, allocations: 4 kB / 0.891 GB, free: 9.859 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.0001482/0.01242, allocations: 291.9 kB / 0.8913 GB, free: 9.562 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.918e-05/0.0125, allocations: 176.6 kB / 0.8915 GB, free: 9.383 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.634e-05/0.01257, allocations: 154.8 kB / 0.8916 GB, free: 9.227 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.732e-05/0.01265, allocations: 272 kB / 0.8919 GB, free: 8.953 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.503e-05/0.01272, allocations: 264.1 kB / 0.8921 GB, free: 8.688 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.552e-05/0.0128, allocations: 268.1 kB / 0.8924 GB, free: 8.418 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002353/0.01303, allocations: 0.5394 MB / 0.8929 GB, free: 7.844 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.76e-05/0.01307, allocations: 144.9 kB / 0.8931 GB, free: 7.695 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.718e-05/0.01311, allocations: 148.8 kB / 0.8932 GB, free: 7.543 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.838e-05/0.01318, allocations: 264.1 kB / 0.8935 GB, free: 7.277 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.394e-05/0.01327, allocations: 272.1 kB / 0.8937 GB, free: 7.004 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.815e-05/0.01334, allocations: 272 kB / 0.894 GB, free: 6.73 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.299e-05/0.0134, allocations: 264.1 kB / 0.8942 GB, free: 6.465 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.01355, allocations: 467.8 kB / 0.8947 GB, free: 5.98 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.227e-05/0.01361, allocations: 176.6 kB / 0.8948 GB, free: 5.801 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.87e-05/0.01369, allocations: 268.1 kB / 0.8951 GB, free: 5.531 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.805e-05/0.01378, allocations: 149.2 kB / 0.8952 GB, free: 5.379 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.204e-05/0.01385, allocations: 272 kB / 0.8955 GB, free: 5.105 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.765e-05/0.01389, allocations: 148.9 kB / 0.8956 GB, free: 4.953 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001335/0.01402, allocations: 259 kB / 0.8959 GB, free: 4.703 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01402, allocations: 0 / 0.8959 GB, free: 4.703 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002892/0.01431, allocations: 83.94 kB / 0.896 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.0003137/0.01463, allocations: 364.6 kB / 0.8963 GB, free: 4.258 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001324/0.01476, allocations: 108.8 kB / 0.8964 GB, free: 4.148 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01476, allocations: 0 / 0.8964 GB, free: 4.148 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.144e-06/0.01476, allocations: 4 kB / 0.8964 GB, free: 4.145 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.01511, allocations: 0.7081 MB / 0.8971 GB, free: 3.434 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006529/0.01576, allocations: 495.4 kB / 0.8976 GB, free: 2.918 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.294e-05/0.01583, allocations: 99.28 kB / 0.8977 GB, free: 2.801 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.278e-05/0.01584, allocations: 0 / 0.8977 GB, free: 2.801 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.75e-05/0.0159, allocations: 74.2 kB / 0.8978 GB, free: 2.727 MB / 0.8542 GB Notification: Performance of SimCode: time 9.02e-07/0.0159, allocations: 0 / 0.8978 GB, free: 2.727 MB / 0.8542 GB Notification: Performance of Templates: time 0.01378/0.02968, allocations: 4.429 MB / 0.9021 GB, free: 14.32 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.656691807322204]