Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009303/0.0009303, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.0009233/0.0009233, allocations: 169 kB / 24.28 MB, free: 284 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 0.961/0.961, allocations: 177.1 MB / 204.6 MB, free: 5.641 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.771/1.771, allocations: 359 MB / 0.6055 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] 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_low,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cab.[0-9,]+..Amp",fileNamePrefix="Buildings_11_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_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.7871 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.266e-05/2.446e-05, allocations: 4.656 kB / 0.7871 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001962/0.001986, allocations: 1.466 MB / 0.7885 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001655/0.003642, allocations: 1.912 MB / 0.7904 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.059e-05/0.003672, allocations: 1.219 kB / 0.7904 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000739/0.004411, allocations: 361.8 kB / 0.7907 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.743e-05/0.004449, allocations: 15.86 kB / 0.7907 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 3.427e-06/0.004452, allocations: 0 / 0.7907 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002008/0.004653, allocations: 135 kB / 0.7909 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.023e-05/0.004693, allocations: 6.844 kB / 0.7909 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.32e-05/0.004766, allocations: 67.86 kB / 0.7909 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.131e-05/0.004858, allocations: 50.94 kB / 0.791 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.004872, allocations: 4 kB / 0.791 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002488/0.005121, allocations: 175.8 kB / 0.7911 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.551e-05/0.005166, allocations: 35.84 kB / 0.7912 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.972e-05/0.005216, allocations: 47.86 kB / 0.7912 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003046/0.005521, allocations: 286.9 kB / 0.7915 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.005523, allocations: 0 / 0.7915 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.212e-06/0.005524, allocations: 0.7188 kB / 0.7915 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.00553, allocations: 0 / 0.7915 GB, free: 8.312 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.0004944/0.006024, allocations: 0.5207 MB / 0.792 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.006061, allocations: 12.03 kB / 0.792 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.006166, allocations: 140 kB / 0.7922 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.006322, allocations: 276.9 kB / 0.7924 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.105e-05/0.006373, allocations: 238.8 kB / 0.7926 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.553e-05/0.006428, allocations: 246.8 kB / 0.7929 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.418e-05/0.006482, allocations: 153.3 kB / 0.793 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.006506, allocations: 119.4 kB / 0.7931 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.894e-05/0.006555, allocations: 247.7 kB / 0.7934 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001867/0.006742, allocations: 242.4 kB / 0.7936 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.548e-05/0.006787, allocations: 238.4 kB / 0.7938 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002641/0.007052, allocations: 0.6513 MB / 0.7945 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.706e-05/0.007129, allocations: 265.4 kB / 0.7947 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.946e-05/0.007158, allocations: 126.9 kB / 0.7948 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.00718, allocations: 119.2 kB / 0.795 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/0.007222, allocations: 161.2 kB / 0.7951 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.403e-06/0.007223, allocations: 1.688 kB / 0.7951 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 0.0001178/0.007341, allocations: 49.59 kB / 0.7952 GB, free: 4.426 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.007388, allocations: 178.5 kB / 0.7953 GB, free: 4.238 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002244/0.007612, allocations: 364.1 kB / 0.7957 GB, free: 3.867 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.007622, allocations: 30.61 kB / 0.7957 GB, free: 3.832 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.143e-05/0.007694, allocations: 175.2 kB / 0.7959 GB, free: 3.652 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.007696, allocations: 0 / 0.7959 GB, free: 3.652 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.716e-05/0.007753, allocations: 83.88 kB / 0.796 GB, free: 3.562 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.007866, allocations: 0.5124 MB / 0.7965 GB, free: 3.039 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.955e-05/0.007906, allocations: 27.98 kB / 0.7965 GB, free: 3.012 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.395e-05/0.00798, allocations: 110.1 kB / 0.7966 GB, free: 2.875 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.008103, allocations: 166.9 kB / 0.7968 GB, free: 2.684 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.008106, allocations: 0 / 0.7968 GB, free: 2.684 MB / 0.7448 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002763/0.008382, allocations: 185.4 kB / 0.7969 GB, free: 2.496 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.008396, allocations: 4.531 kB / 0.7969 GB, free: 2.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.008403, allocations: 9.359 kB / 0.7969 GB, free: 2.484 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.008415, allocations: 0 / 0.7969 GB, free: 2.484 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.767e-06/0.008419, allocations: 11.88 kB / 0.797 GB, free: 2.473 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.008424, allocations: 0 / 0.797 GB, free: 2.473 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.945e-05/0.008494, allocations: 36.83 kB / 0.797 GB, free: 2.438 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.008501, allocations: 4 kB / 0.797 GB, free: 2.434 MB / 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.0001022/0.008603, allocations: 280.8 kB / 0.7973 GB, free: 2.148 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.315e-05/0.008656, allocations: 172.7 kB / 0.7974 GB, free: 1.973 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.978e-05/0.008696, allocations: 154.5 kB / 0.7976 GB, free: 1.82 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.226e-05/0.008748, allocations: 264.1 kB / 0.7978 GB, free: 1.555 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.509e-05/0.008803, allocations: 280.9 kB / 0.7981 GB, free: 1.273 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.023e-05/0.008853, allocations: 272 kB / 0.7983 GB, free: 1 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.009045, allocations: 0.5506 MB / 0.7989 GB, free: 416 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-05/0.009075, allocations: 150.2 kB / 0.799 GB, free: 260 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.811e-05/0.009103, allocations: 145 kB / 0.7992 GB, free: 108 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-05/0.009168, allocations: 276 kB / 0.7994 GB, free: 15.83 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.908e-05/0.009227, allocations: 272.9 kB / 0.7997 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-05/0.00928, allocations: 268 kB / 0.7999 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.364e-05/0.009333, allocations: 268.1 kB / 0.8002 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.009599, allocations: 462 kB / 0.8006 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.021e-05/0.00965, allocations: 168.7 kB / 0.8008 GB, free: 14.37 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.677e-05/0.009716, allocations: 268 kB / 0.8011 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.313e-05/0.009789, allocations: 144.9 kB / 0.8012 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.769e-05/0.009847, allocations: 279.9 kB / 0.8015 GB, free: 13.67 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.814e-05/0.009875, allocations: 148.9 kB / 0.8016 GB, free: 13.52 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001076/0.009983, allocations: 217.6 kB / 0.8018 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.009983, allocations: 3.438 kB / 0.8018 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002433/0.01023, allocations: 63.94 kB / 0.8019 GB, free: 13.24 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.0002693/0.0105, allocations: 329 kB / 0.8022 GB, free: 12.92 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001285/0.01062, allocations: 71.61 kB / 0.8023 GB, free: 12.85 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01063, allocations: 0 / 0.8023 GB, free: 12.85 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/0.01063, allocations: 0 / 0.8023 GB, free: 12.85 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.01093, allocations: 0.7164 MB / 0.803 GB, free: 12.13 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005529/0.01148, allocations: 400.6 kB / 0.8033 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.87e-05/0.01153, allocations: 83.31 kB / 0.8034 GB, free: 11.6 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 9.658e-06/0.01154, allocations: 256 / 0.8034 GB, free: 11.6 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.715e-05/0.01156, allocations: 13.62 kB / 0.8034 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of SimCode: time 9.71e-07/0.01156, allocations: 0 / 0.8034 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of Templates: time 0.004314/0.01587, allocations: 2.305 MB / 0.8057 GB, free: 9.309 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.914886215003207]