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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 113 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0018/0.0018, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 225.6 MB / 249.4 MB, free: 3.137 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.051/3.051, allocations: 496.2 MB / 0.7819 GB, free: 12.25 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.1..Amp|cab.2..Amp|cab.3..Amp|cab.4..Amp|cab.5..Amp|cab.6..Amp|cab.7..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.1..Amp|cab.2..Amp|cab.3..Amp|cab.4..Amp|cab.5..Amp|cab.6..Amp|cab.7..Amp",fileNamePrefix="Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 75.81 kB / 1.136 GB, free: 12.47 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.219/1.221, allocations: 173.6 MB / 1.305 GB, free: 33.39 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002638/1.223, allocations: 1.433 MB / 1.307 GB, free: 32.4 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002832/1.226, allocations: 2.714 MB / 1.309 GB, free: 30.5 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.279e-05/1.226, allocations: 0 / 1.309 GB, free: 30.5 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.00151/1.228, allocations: 0.5952 MB / 1.31 GB, free: 30.18 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.639e-05/1.228, allocations: 13.95 kB / 1.31 GB, free: 30.18 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.93e-06/1.228, allocations: 0 / 1.31 GB, free: 30.18 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002618/1.228, allocations: 164.3 kB / 1.31 GB, free: 30.1 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.211e-05/1.228, allocations: 12.77 kB / 1.31 GB, free: 30.09 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.082e-05/1.228, allocations: 64.08 kB / 1.31 GB, free: 30.07 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/1.228, allocations: 77.27 kB / 1.31 GB, free: 30.04 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/1.228, allocations: 2.562 kB / 1.31 GB, free: 30.04 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009136/1.229, allocations: 472.6 kB / 1.311 GB, free: 29.93 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.242e-05/1.229, allocations: 37.55 kB / 1.311 GB, free: 29.92 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.171e-05/1.229, allocations: 93.83 kB / 1.311 GB, free: 29.87 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005881/1.23, allocations: 433 kB / 1.311 GB, free: 29.69 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.473e-06/1.23, allocations: 3.422 kB / 1.311 GB, free: 29.69 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.804e-06/1.23, allocations: 3.938 kB / 1.311 GB, free: 29.68 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.923e-06/1.23, allocations: 0 / 1.311 GB, free: 29.68 MB / 1.061 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.0007924/1.231, allocations: 0.562 MB / 1.312 GB, free: 29.19 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/1.231, allocations: 12.14 kB / 1.312 GB, free: 29.19 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/1.231, allocations: 108 kB / 1.312 GB, free: 29.09 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/1.231, allocations: 301.4 kB / 1.312 GB, free: 28.8 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.815e-05/1.231, allocations: 154.9 kB / 1.312 GB, free: 28.64 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.237e-05/1.231, allocations: 157.8 kB / 1.313 GB, free: 28.49 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.992e-05/1.231, allocations: 105.5 kB / 1.313 GB, free: 28.38 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/1.231, allocations: 78.8 kB / 1.313 GB, free: 28.31 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.467e-05/1.231, allocations: 161.4 kB / 1.313 GB, free: 28.15 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.978e-05/1.231, allocations: 150.6 kB / 1.313 GB, free: 28 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.798e-05/1.231, allocations: 154.5 kB / 1.313 GB, free: 27.85 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002882/1.232, allocations: 0.5336 MB / 1.314 GB, free: 27.33 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.406e-05/1.232, allocations: 175.9 kB / 1.314 GB, free: 27.15 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.089e-05/1.232, allocations: 80.14 kB / 1.314 GB, free: 27.07 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/1.232, allocations: 75.28 kB / 1.314 GB, free: 26.99 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/1.232, allocations: 109.8 kB / 1.314 GB, free: 26.88 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 6.51e-07/1.232, allocations: 0 / 1.314 GB, free: 26.88 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 0.0001741/1.232, allocations: 63.03 kB / 1.314 GB, free: 26.82 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/1.232, allocations: 130.6 kB / 1.314 GB, free: 26.68 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000372/1.232, allocations: 436.4 kB / 1.315 GB, free: 26.47 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.918e-06/1.233, allocations: 29.7 kB / 1.315 GB, free: 26.43 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.148e-05/1.233, allocations: 130.2 kB / 1.315 GB, free: 26.32 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.845e-06/1.233, allocations: 0 / 1.315 GB, free: 26.32 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.277e-05/1.233, allocations: 95.02 kB / 1.315 GB, free: 26.28 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.186e-05/1.233, allocations: 340.3 kB / 1.315 GB, free: 25.95 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.758e-05/1.233, allocations: 95.83 kB / 1.315 GB, free: 25.92 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/1.233, allocations: 164 kB / 1.316 GB, free: 25.82 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002743/1.233, allocations: 314.1 kB / 1.316 GB, free: 25.66 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/1.233, allocations: 0 / 1.316 GB, free: 25.66 MB / 1.061 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004337/1.234, allocations: 321.4 kB / 1.316 GB, free: 25.52 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/1.234, allocations: 5.906 kB / 1.316 GB, free: 25.52 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/1.234, allocations: 17.33 kB / 1.316 GB, free: 25.51 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/1.234, allocations: 2.125 kB / 1.316 GB, free: 25.51 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.857e-06/1.234, allocations: 7 kB / 1.316 GB, free: 25.51 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/1.234, allocations: 0 / 1.316 GB, free: 25.51 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/1.234, allocations: 48.42 kB / 1.316 GB, free: 25.47 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/1.234, allocations: 5.844 kB / 1.316 GB, free: 25.47 MB / 1.061 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.0002125/1.234, allocations: 238.2 kB / 1.316 GB, free: 25.27 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.573e-05/1.234, allocations: 130 kB / 1.317 GB, free: 25.14 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.397e-05/1.234, allocations: 125 kB / 1.317 GB, free: 25.02 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-05/1.234, allocations: 176.3 kB / 1.317 GB, free: 24.84 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.147e-05/1.234, allocations: 187 kB / 1.317 GB, free: 24.66 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.272e-05/1.234, allocations: 179.6 kB / 1.317 GB, free: 24.48 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002461/1.235, allocations: 479 kB / 1.318 GB, free: 24.01 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.96e-05/1.235, allocations: 101 kB / 1.318 GB, free: 23.9 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.884e-05/1.235, allocations: 101 kB / 1.318 GB, free: 23.8 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.275e-05/1.235, allocations: 184.2 kB / 1.318 GB, free: 23.61 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.915e-05/1.235, allocations: 187 kB / 1.318 GB, free: 23.42 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.053e-05/1.235, allocations: 183.4 kB / 1.318 GB, free: 23.24 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.359e-05/1.235, allocations: 180.3 kB / 1.319 GB, free: 23.05 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.794e-05/1.235, allocations: 328.6 kB / 1.319 GB, free: 22.72 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.113e-05/1.235, allocations: 205.8 kB / 1.319 GB, free: 22.5 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.153e-05/1.235, allocations: 194.2 kB / 1.319 GB, free: 22.31 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/1.235, allocations: 101 kB / 1.319 GB, free: 22.21 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/1.235, allocations: 182.9 kB / 1.32 GB, free: 22.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/1.235, allocations: 104.9 kB / 1.32 GB, free: 21.91 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003328/1.235, allocations: 284.8 kB / 1.32 GB, free: 21.78 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.01e-07/1.235, allocations: 0 / 1.32 GB, free: 21.78 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006392/1.236, allocations: 89.09 kB / 1.32 GB, free: 21.77 MB / 1.061 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.0004368/1.237, allocations: 304.9 kB / 1.32 GB, free: 21.55 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002219/1.237, allocations: 117.9 kB / 1.32 GB, free: 21.51 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.237, allocations: 3.094 kB / 1.32 GB, free: 21.51 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.896e-06/1.237, allocations: 3.938 kB / 1.32 GB, free: 21.51 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/1.237, allocations: 465.6 kB / 1.321 GB, free: 21.05 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006028/1.238, allocations: 0.5079 MB / 1.321 GB, free: 20.73 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/1.238, allocations: 0.7773 MB / 1.322 GB, free: 20.02 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.262e-05/1.238, allocations: 0 / 1.322 GB, free: 20.02 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.831e-05/1.238, allocations: 9.906 kB / 1.322 GB, free: 20.01 MB / 1.061 GB Notification: Performance of SimCode: time 4.5e-07/1.238, allocations: 0 / 1.322 GB, free: 20.01 MB / 1.061 GB Notification: Performance of Templates: time 0.006723/1.245, allocations: 3.088 MB / 1.325 GB, free: 19.64 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.205212785862386]